JAL-244 knock on - make sure alignPanel is laid out properly after adjusting height...
authorJames Procter <j.procter@dundee.ac.uk>
Tue, 31 Oct 2023 12:00:38 +0000 (12:00 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Tue, 31 Oct 2023 12:00:38 +0000 (12:00 +0000)
src/jalview/gui/AlignFrame.java

index ac8ffb9..aca8baa 100644 (file)
@@ -5842,6 +5842,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
       }
     }
     alignPanel.validateAnnotationDimensions(true);
+    // TODO this triggers relayout of annotation panel - otherwise annotation label height is different to panel height
+    alignPanel.fontChanged();
     alignPanel.alignmentChanged();
   }