From 30c10f4abd4d2fc1009d34e2464b5f7545a2f194 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 7 Sep 2017 11:06:34 +0100 Subject: [PATCH] JAL-2511 invalidate scale panel holder on font change to update layout --- src/jalview/gui/AlignmentPanel.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 629767a..ba9fc11 100644 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -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(); -- 1.7.10.2