From 066a0505a9e1eb4b460b0fb38286c10dfe117574 Mon Sep 17 00:00:00 2001 From: ana Date: Mon, 15 Mar 2010 11:22:40 +0000 Subject: [PATCH] Fix bugs with size of dialog box for Sketch construction on Windows --- src/EntityGUI/EntityGUI_SketcherDlg.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } -- 2.39.2