]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Improve dialog box's layout
authorvsr <vsr@opencascade.com>
Sun, 26 Sep 2010 16:14:05 +0000 (16:14 +0000)
committervsr <vsr@opencascade.com>
Sun, 26 Sep 2010 16:14:05 +0000 (16:14 +0000)
src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx

index f629fba64cfa93392912cf1d65a96627594f7bc0..a0888e3ffbf5aad8394835d2e5126f167f590ab9 100644 (file)
@@ -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);