From b92405546f53fb12a64d59a986d9a39379d5db4e Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 10 Aug 2015 12:34:06 +0300 Subject: [PATCH] Issue #833: the colon is removed for coordinate input fields (like "X:") --- src/ConstructionPlugin/point_widget.xml | 6 +++--- src/PartSet/PartSet_WidgetPoint2d.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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); -- 2.39.2