JAL-1799 update height of annotation labels to match annotations
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 21 Sep 2015 15:09:55 +0000 (16:09 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 21 Sep 2015 15:09:55 +0000 (16:09 +0100)
src/jalview/gui/AlignmentPanel.java

index ec83a5d..2c7dd3e 100644 (file)
@@ -566,6 +566,9 @@ public class AlignmentPanel extends GAlignmentPanel implements
     annotationScroller.setPreferredSize(new Dimension(annotationScroller
             .getWidth(), annotationHeight));
 
+    Dimension e = idPanel.getSize();
+    alabels.setSize(new Dimension(e.width, annotationHeight));
+
     annotationSpaceFillerHolder.setPreferredSize(new Dimension(
             annotationSpaceFillerHolder.getWidth(), annotationHeight));
     annotationScroller.validate();