From: James Procter Date: Fri, 8 Sep 2023 14:57:42 +0000 (+0100) Subject: JAL-4282 make sure font is updated in alignPanel before doing any layout X-Git-Tag: Release_2_11_4_0~117^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5b6537cd5adc21b32f42697868ccb073365315ae;p=jalview.git JAL-4282 make sure font is updated in alignPanel before doing any layout --- diff --git a/src/jalview/project/Jalview2XML.java b/src/jalview/project/Jalview2XML.java index af3b2c8..339a609 100644 --- a/src/jalview/project/Jalview2XML.java +++ b/src/jalview/project/Jalview2XML.java @@ -5111,6 +5111,7 @@ public class Jalview2XML } af.setBounds(safeInt(view.getXpos()), safeInt(view.getYpos()), safeInt(view.getWidth()), safeInt(view.getHeight())); + af.alignPanel.fontChanged(); // make sure font is updated *before* we set ID width // startSeq set in af.alignPanel.updateLayout below af.alignPanel.updateLayout(); ColourSchemeI cs = null;