JAL-2511 invalidate scale panel holder on font change to update layout
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 7 Sep 2017 10:06:34 +0000 (11:06 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 7 Sep 2017 10:24:55 +0000 (11:24 +0100)
src/jalview/gui/AlignmentPanel.java

index 629767a..ba9fc11 100644 (file)
@@ -230,6 +230,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();