JAL-845 handling eXpand/Gather split frame views
[jalview.git] / src / jalview / gui / AlignViewport.java
index 5698e0f..deba021 100644 (file)
@@ -1485,9 +1485,7 @@ public class AlignViewport extends AlignmentViewport implements
       String linkedTitle = MessageManager.formatMessage(
               "label.linked_view_title", dnaShortName, proteinShortName);
       JInternalFrame splitFrame = new SplitFrame(cdnaFrame, proteinFrame);
-      Desktop.addInternalFrame(splitFrame, linkedTitle,
-              AlignFrame.DEFAULT_WIDTH,
-              AlignFrame.DEFAULT_HEIGHT);
+      Desktop.addInternalFrame(splitFrame, linkedTitle, -1, -1);
 
       /*
        * Set the frames to listen for each other's edit and sort commands.