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 f629fba..a0888e3 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);