From 7e538eabe7bc9b2905fac031165bf39c8963231c Mon Sep 17 00:00:00 2001
From: jprocter
Automatically set ID width
+When enabled, the column containing sequence and annotation labels at the left hand side of an exported figure will be made large enough to display each sequence ID and annotation label in its own line. Enable this if you have particularly long sequence IDs and need to generate EPS or PNG figures or web pages.
Figure ID column width
+Manually specify the width of the left hand column where sequence IDs and annotation labels will be rendered in exported alignment figures. This setting will be ignored if "Automatically set ID width" is set.
+
Sequence//Start-End Numbering
The output tab also has a group of checkboxes for each file format. If
these are ticked, then Jalview will write files with the start and end
diff --git a/src/jalview/gui/Preferences.java b/src/jalview/gui/Preferences.java
index 1e9cd46..789799e 100755
--- a/src/jalview/gui/Preferences.java
+++ b/src/jalview/gui/Preferences.java
@@ -202,8 +202,8 @@ public class Preferences extends GPreferences
epsRendering.setSelectedItem(Cache.getDefault("EPS_RENDERING",
"Prompt each time"));
autoIdWidth.setSelected(Cache.getDefault("FIGURE_AUTOIDWIDTH", false));
- userIdWidth.setEnabled(!autoIdWidth.isSelected());
- userIdWidthlabel.setEnabled(!autoIdWidth.isSelected());
+ userIdWidth.setEnabled(autoIdWidth.isSelected());
+ userIdWidthlabel.setEnabled(autoIdWidth.isSelected());
Integer wi = Cache.getIntegerProperty("FIGURE_USERIDWIDTH");
userIdWidth.setText(wi == null ? "" : wi.toString());
blcjv.setSelected(Cache.getDefault("BLC_JVSUFFIX", true));
diff --git a/src/jalview/jbgui/GPreferences.java b/src/jalview/jbgui/GPreferences.java
index 8e2acc2..29e11ce 100755
--- a/src/jalview/jbgui/GPreferences.java
+++ b/src/jalview/jbgui/GPreferences.java
@@ -642,7 +642,8 @@ public class GPreferences extends JPanel
sortByTree.setBounds(new Rectangle(22, 136, 168, 23));
autoIdWidth.setFont(JvSwingUtils.getLabelFont());
- autoIdWidth.setText("Autofit Figure ID width");
+ autoIdWidth.setText("Automatically set ID width");
+ autoIdWidth.setToolTipText(""+JvSwingUtils.wrapTooltip("Adjusts the width of the generated EPS or PNG file to ensure even the longest sequence ID or annotation label is displayed")+"");
autoIdWidth.setBounds(new Rectangle(228, 96,188,23));
autoIdWidth.addActionListener(new ActionListener()
{
@@ -655,6 +656,12 @@ public class GPreferences extends JPanel
});
userIdWidthlabel.setFont(JvSwingUtils.getLabelFont());
userIdWidthlabel.setText("Figure ID column width");
+ userIdWidth
+ .setToolTipText(""+JvSwingUtils
+ .wrapTooltip("Manually specify the width of the left hand column where sequence IDs and annotation labels will be rendered in exported alignment figures. This setting will be ignored if 'Automatically set ID width' is set")+"");
+ userIdWidthlabel
+ .setToolTipText(""+JvSwingUtils
+ .wrapTooltip("Manually specify the width of the left hand column where sequence IDs and annotation labels will be rendered in exported alignment figures. This setting will be ignored if 'Automatically set ID width' is set")+"");
userIdWidthlabel.setBounds(new Rectangle(236, 120,168,23));
userIdWidth.setFont(JvSwingUtils.getTextAreaFont());
userIdWidth.setText("");
--
1.7.10.2