]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/TransformationGUI/TransformationGUI_ScaleDlg.cxx
Salome HOME
PAL8769: Limitation to give values in Spin boxes. Now coordinates and displacements...
[modules/geom.git] / src / TransformationGUI / TransformationGUI_ScaleDlg.cxx
index bcfec2b556d02811717086ef637b479d36909c4d..9ea31756d0e1d99ed4de4f1b36e92bc208ae413a 100644 (file)
@@ -79,7 +79,7 @@ TransformationGUI_ScaleDlg::TransformationGUI_ScaleDlg(QWidget* parent, const ch
   double aFactor = 2.0;
   double SpecificStep = 0.5;
   /* min, max, step and decimals for spin boxes & initial values */
-  GroupPoints->SpinBox_DX->RangeStepAndValidator(-999.999, 999.999, SpecificStep, 3);
+  GroupPoints->SpinBox_DX->RangeStepAndValidator(COORD_MIN, COORD_MAX, SpecificStep, 3);
   GroupPoints->SpinBox_DX->SetValue(aFactor);
   
   // Activate Create a Copy mode