From: ana Date: Mon, 15 Mar 2010 11:22:40 +0000 (+0000) Subject: Fix bugs with size of dialog box for Sketch construction on Windows X-Git-Tag: V5_1_4a1~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=066a0505a9e1eb4b460b0fb38286c10dfe117574;p=modules%2Fgeom.git Fix bugs with size of dialog box for Sketch construction on Windows --- diff --git a/src/EntityGUI/EntityGUI_SketcherDlg.cxx b/src/EntityGUI/EntityGUI_SketcherDlg.cxx index 472a52eb4..c5f1fdc8b 100644 --- a/src/EntityGUI/EntityGUI_SketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_SketcherDlg.cxx @@ -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); }