From: Jim Procter Date: Wed, 6 Sep 2017 21:03:40 +0000 (+0100) Subject: JAL-2587 makes sure idWidthAdjuster is resized when container panel’s preference... X-Git-Tag: Release_2_10_3b1~135 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=032a68419354b6d486e97a1dbb8331d810567192;p=jalview.git JAL-2587 makes sure idWidthAdjuster is resized when container panel’s preference changes --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index ab57b0f..7e2a2f6 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -231,7 +231,7 @@ public class AlignmentPanel extends GAlignmentPanel implements new Dimension(10, av.getCharHeight() + fm.getDescent())); idSpaceFillerPanel1.setPreferredSize( new Dimension(10, av.getCharHeight() + fm.getDescent())); - + idwidthAdjuster.invalidate(); getIdPanel().getIdCanvas().gg = null; getSeqPanel().seqCanvas.img = null; getAnnotationPanel().adjustPanelHeight();