From 55bd192dd2d4662bfd8635e1b5df53a9b384e589 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 8 Sep 2016 11:26:21 +0300 Subject: [PATCH] Issue #1735 name of Deflection --- src/XGUI/XGUI_DeflectionDialog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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) -- 2.30.2