Salome HOME
Fix a bug from the additional comment from Ilya MATVEYEV 2008-04-28 14:32 for bug...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MoveNodesDlg.cxx
index 131e60b9fac739318c6186be7d144ad33e9fdd6e..1d39661bc87d946c712bb81f22fe2b498e533bb0 100644 (file)
@@ -70,6 +70,7 @@
 #include <QHBoxLayout>
 #include <QVBoxLayout>
 #include <QKeyEvent>
+#include <QButtonGroup>
 
 // IDL includes
 #include <SALOMEconfig.h>
@@ -158,6 +159,7 @@ QWidget* SMESHGUI_MoveNodesDlg::createMainFrame (QWidget* theParent)
 
   //------------------------------------------------------------
   QGroupBox* aPixGrp = new QGroupBox(tr("MESH_NODE"), aFrame);
+  QButtonGroup* aBtnGrp = new QButtonGroup(this);
   QHBoxLayout* aPixGrpLayout = new QHBoxLayout(aPixGrp);
   aPixGrpLayout->setSpacing(SPACING);
   aPixGrpLayout->setMargin(MARGIN);
@@ -167,7 +169,7 @@ QWidget* SMESHGUI_MoveNodesDlg::createMainFrame (QWidget* theParent)
   aRBut->setChecked(true);
 
   aPixGrpLayout->addWidget(aRBut);
-  aPixGrpLayout->addStretch();
+  aBtnGrp->addButton(aRBut, 0);
 
   //------------------------------------------------------------
   QGroupBox* anIdGrp = new QGroupBox(tr("SMESH_MOVE"), aFrame);