From: gmungoc Date: Thu, 7 Sep 2017 10:06:34 +0000 (+0100) Subject: JAL-2511 invalidate scale panel holder on font change to update layout X-Git-Tag: Release_2_10_3b1~133^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5d9994e09150d0a3e6c49cef59a5a9c242b16290;p=jalview.git JAL-2511 invalidate scale panel holder on font change to update layout --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 7e2a2f6..76368ed 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -232,6 +232,7 @@ public class AlignmentPanel extends GAlignmentPanel implements idSpaceFillerPanel1.setPreferredSize( new Dimension(10, av.getCharHeight() + fm.getDescent())); idwidthAdjuster.invalidate(); + scalePanelHolder.invalidate(); getIdPanel().getIdCanvas().gg = null; getSeqPanel().seqCanvas.img = null; getAnnotationPanel().adjustPanelHeight();