From: asl Date: Mon, 10 Aug 2015 09:34:06 +0000 (+0300) Subject: Issue #833: the colon is removed for coordinate input fields (like "X:") X-Git-Tag: V_1.4.0_beta4~416 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b92405546f53fb12a64d59a986d9a39379d5db4e;p=modules%2Fshaper.git Issue #833: the colon is removed for coordinate input fields (like "X:") --- diff --git a/src/ConstructionPlugin/point_widget.xml b/src/ConstructionPlugin/point_widget.xml index 1452154fa..5ce9fe1fb 100644 --- a/src/ConstructionPlugin/point_widget.xml +++ b/src/ConstructionPlugin/point_widget.xml @@ -1,7 +1,7 @@ - - - + + + diff --git a/src/PartSet/PartSet_WidgetPoint2d.cpp b/src/PartSet/PartSet_WidgetPoint2d.cpp index fe147f51a..b65b07095 100644 --- a/src/PartSet/PartSet_WidgetPoint2d.cpp +++ b/src/PartSet/PartSet_WidgetPoint2d.cpp @@ -68,7 +68,7 @@ PartSet_WidgetPoint2D::PartSet_WidgetPoint2D(QWidget* theParent, aGroupLay->setColumnStretch(1, 1); { QLabel* aLabel = new QLabel(myGroupBox); - aLabel->setText(tr("X:")); + aLabel->setText(tr("X ")); aGroupLay->addWidget(aLabel, 0, 0); myXSpin = new ModuleBase_ParamSpinBox(myGroupBox); @@ -81,7 +81,7 @@ PartSet_WidgetPoint2D::PartSet_WidgetPoint2D(QWidget* theParent, } { QLabel* aLabel = new QLabel(myGroupBox); - aLabel->setText(tr("Y:")); + aLabel->setText(tr("Y ")); aGroupLay->addWidget(aLabel, 1, 0); myYSpin = new ModuleBase_ParamSpinBox(myGroupBox);