From: gmungoc Date: Wed, 7 Mar 2018 11:04:42 +0000 (+0000) Subject: JAL-2913 use FIGURE_USERIDWIDTH for fixed id width property X-Git-Tag: Release_2_10_4~54 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=13e054c5117102197ee0b22073603a6a38962865;p=jalview.git JAL-2913 use FIGURE_USERIDWIDTH for fixed id width property --- diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index dcd6546..fcc4f6d 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -178,7 +178,7 @@ import org.apache.log4j.SimpleLayout; *
  • FIGURE_AUTOIDWIDTH (false) Expand the left hand column of an exported * alignment figure to accommodate even the longest sequence ID or annotation * label.
  • - *
  • FIGURE_FIXEDIDWIDTH Specifies the width to use for the left-hand column + *
  • FIGURE_USERIDWIDTH Specifies the width to use for the left-hand column * when exporting an alignment as a figure (setting FIGURE_AUTOIDWIDTH to true * will override this).
  • *
  • STRUCT_FROM_PDB (false) derive secondary structure annotation from PDB diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index f5634d2..55fd185 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -1274,7 +1274,7 @@ public class AlignmentPanel extends GAlignmentPanel implements } Integer idwidth = null; if (onscreen || (idwidth = Cache - .getIntegerProperty("FIGURE_FIXEDIDWIDTH")) == null) + .getIntegerProperty("FIGURE_USERIDWIDTH")) == null) { int w = getIdPanel().getWidth(); return (w > 0 ? w : calculateIdWidth().width + 4);