Improve dialog box's layout

This commit is contained in:
vsr 2010-09-26 16:14:05 +00:00
parent 632a68b51c
commit 92ccacc7e0

View 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);