From: vsr Date: Fri, 4 Jun 2010 13:55:14 +0000 (+0000) Subject: 0020580: EDF 1169 GEOM: float number precision in dialog boxes X-Git-Tag: V5_1_4rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4254b222569d3412c9f13bda266a1ce62fa30db8;p=modules%2Fgeom.git 0020580: EDF 1169 GEOM: float number precision in dialog boxes Additional fix: change max limit for precision preferences to 14 --- diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 855e3b6d8..4477cc219 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1475,8 +1475,8 @@ void GeometryGUI::createPreferences() // Set property for precision value for spinboxes for ( ii = 0; ii < nbQuantities; ii++ ){ - setPreferenceProperty( prec[ii], "min", -10 ); - setPreferenceProperty( prec[ii], "max", 10 ); + setPreferenceProperty( prec[ii], "min", -14 ); + setPreferenceProperty( prec[ii], "max", 14 ); setPreferenceProperty( prec[ii], "precision", 2 ); }