From: vsr Date: Sun, 26 Sep 2010 16:14:05 +0000 (+0000) Subject: Improve dialog box's layout X-Git-Tag: V5_1_5a1~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=92ccacc7e0ade17a30cdd61374a71dbecb6967f1;p=modules%2Fsmesh.git Improve dialog box's layout --- diff --git a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx index f629fba64..a0888e3ff 100644 --- a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx @@ -79,7 +79,7 @@ SMESHGUI_FindElemByPointDlg::SMESHGUI_FindElemByPointDlg() setWindowTitle(tr("CAPTION")); QVBoxLayout* aDlgLay = new QVBoxLayout (mainFrame()); - aDlgLay->setMargin(MARGIN);; + aDlgLay->setMargin(0); aDlgLay->setSpacing(SPACING); QWidget* aMainFrame = createMainFrame (mainFrame()); @@ -164,6 +164,8 @@ QWidget* SMESHGUI_FindElemByPointDlg::createMainFrame (QWidget* theParent) QVBoxLayout* aLay = new QVBoxLayout(aFrame); + aLay->setMargin( 0 ); + aLay->setSpacing( SPACING ); aLay->addWidget(aMeshGrp); aLay->addWidget(aCoordGrp); aLay->addWidget(elementGrp);