JAL-2587 parking while working on other issues
authorkiramt <k.mourao@dundee.ac.uk>
Sat, 22 Jul 2017 09:00:57 +0000 (11:00 +0200)
committerkiramt <k.mourao@dundee.ac.uk>
Sat, 22 Jul 2017 09:00:57 +0000 (11:00 +0200)
src/jalview/gui/OverviewPanel.java

index 8a76211..6a33ba2 100755 (executable)
@@ -102,11 +102,11 @@ public class OverviewPanel extends JPanel implements Runnable,
             od.setHeight(getHeight());
           }
 
-          setPreferredSize(new Dimension(od.getWidth(), od.getHeight()));
           setBoxPosition();
+          setPreferredSize(new Dimension(od.getWidth(), od.getHeight()));
+
 
           updateOverviewImage();
-          setBoxPosition();
         }
       }
     });