Restoration: fix size pb at startup 35/12335/1
Calixte DENIZET [Mon, 26 Aug 2013 09:45:50 +0000 (11:45 +0200)]
Change-Id: I9e96aff7e88491b3afdc3915945ae0e5371e6f64

scilab/modules/gui/src/java/org/scilab/modules/gui/utils/WindowsConfigurationManager.java

index b7a29fe..b44ba7c 100644 (file)
@@ -483,7 +483,6 @@ public class WindowsConfigurationManager implements XConfigurationListener {
                                     }
                                 }
 
-                                window.pack();
                                 window.setVisible(true);
                                 window.requestFocus();
                                 window.toFront();
@@ -501,7 +500,6 @@ public class WindowsConfigurationManager implements XConfigurationListener {
                 });
             } else {
                 window.setIsRestoring(false);
-                window.pack();
                 window.setVisible(true);
             }
         }