]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix bugs with size of dialog box for Sketch construction on Windows
authorana <ana@opencascade.com>
Mon, 15 Mar 2010 11:22:40 +0000 (11:22 +0000)
committerana <ana@opencascade.com>
Mon, 15 Mar 2010 11:22:40 +0000 (11:22 +0000)
src/EntityGUI/EntityGUI_SketcherDlg.cxx

index 472a52eb4e11b728c4b8c6b90fdd5567b279dd77..c5f1fdc8be7a1c30678836e51ff5c7ef5eb8385e 100644 (file)
@@ -345,10 +345,11 @@ void EntityGUI_SketcherDlg::Init()
 
   MainWidget->RadioButton1->setChecked( true );
 
-  resize(100,100);
   TypeClicked( 0 );
 
   FindLocalCS();
+  resize(100,100);
+
 
   GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
 }
@@ -367,8 +368,6 @@ void EntityGUI_SketcherDlg::InitClick()
   Group2Spin->hide();
   Group3Spin->hide();
   Group4Spin->hide();
-
-  resize(100,100);
 }