From: jprocter Date: Thu, 30 Jun 2011 11:50:45 +0000 (+0100) Subject: set initial annotation panel height appropriately (JAL-564, JAL-306) X-Git-Tag: Release_2_7~164 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9b7ee35c6b9909b030b5b04e33266acf8d5ad637;p=jalview.git set initial annotation panel height appropriately (JAL-564, JAL-306) --- diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 3654e0c..8387089 100644 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -145,6 +145,7 @@ public class AlignFrame extends EmbmenuFrame implements ActionListener, alignPanel.alabels.addKeyListener(this); createAlignFrameWindow(embedded, title); alignPanel.validate(); + alignPanel.adjustAnnotationHeight(); alignPanel.paintAlignment(true); } diff --git a/src/jalview/appletgui/AlignmentPanel.java b/src/jalview/appletgui/AlignmentPanel.java index 60e8cb1..9d19cf3 100644 --- a/src/jalview/appletgui/AlignmentPanel.java +++ b/src/jalview/appletgui/AlignmentPanel.java @@ -177,6 +177,7 @@ public class AlignmentPanel extends Panel implements AdjustmentListener, Alignme Dimension d = calculateIdWidth(); d.setSize(d.width + 4, seqPanel.seqCanvas.getSize().height); alabels.setSize(d.width + 4, ap); + idPanel.idCanvas.setSize(d); hscrollFillerPanel.setSize(d);