Salome HOME
Issue #1735 name of Deflection
authornds <nds@opencascade.com>
Thu, 8 Sep 2016 08:26:21 +0000 (11:26 +0300)
committernds <nds@opencascade.com>
Thu, 8 Sep 2016 08:26:21 +0000 (11:26 +0300)
src/XGUI/XGUI_DeflectionDialog.cpp

index 60ebe7a92be8657b82c4c8ae9f640b111033993e..6034ba842c24bffc46e9bcdaceb22dbaf57144fd 100755 (executable)
@@ -26,14 +26,13 @@ XGUI_DeflectionDialog::XGUI_DeflectionDialog(QWidget* theParent)
   myDeflection->setDecimals(12);
   myDeflection->setRange(0, 1);
   myDeflection->setSingleStep(0.001);
-  aLay->addWidget(new QLabel(tr("Deflection value"), this), 0, 0);
-  aLay->addWidget(myDeflection, 0, 1);
+  aLay->addWidget(myDeflection, 0, 0);
 
   QDialogButtonBox* aButtons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel,
                                                     Qt::Horizontal, this);
   connect(aButtons, SIGNAL(accepted()), this, SLOT(accept()));
   connect(aButtons, SIGNAL(rejected()), this, SLOT(reject()));
-  aLay->addWidget(aButtons, 1, 0, 1, 2);
+  aLay->addWidget(aButtons, 1, 0);
 }
 
 void XGUI_DeflectionDialog::setDeflection(const double& theValue)