From: nds Date: Thu, 8 Sep 2016 08:26:21 +0000 (+0300) Subject: Issue #1735 name of Deflection X-Git-Tag: V_2.5.0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=55bd192dd2d4662bfd8635e1b5df53a9b384e589;p=modules%2Fshaper.git Issue #1735 name of Deflection --- diff --git a/src/XGUI/XGUI_DeflectionDialog.cpp b/src/XGUI/XGUI_DeflectionDialog.cpp index 60ebe7a92..6034ba842 100755 --- a/src/XGUI/XGUI_DeflectionDialog.cpp +++ b/src/XGUI/XGUI_DeflectionDialog.cpp @@ -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)