From f6848acdd172d5392f05cd4a90a8c0c1a2cbc09f Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 4 Jun 2010 13:58:37 +0000 Subject: [PATCH] 0020580: EDF 1169 GEOM: float number precision in dialog boxes Additional fix: change max limit for precision preferences to 14 --- src/VISUGUI/VisuGUI.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VISUGUI/VisuGUI.cxx b/src/VISUGUI/VisuGUI.cxx index 23a41b3e..bb6ba823 100644 --- a/src/VISUGUI/VisuGUI.cxx +++ b/src/VISUGUI/VisuGUI.cxx @@ -3748,8 +3748,8 @@ void VisuGUI::createPreferences() // Set property for precision value for spinboxes for ( ii = 0; ii < nbQuantities; ii++ ){ - setPreferenceProperty( precs[ii], "min", ii == 2 ? 0 : -10 ); - setPreferenceProperty( precs[ii], "max", ii == 2 ? 3 : 10 ); + setPreferenceProperty( precs[ii], "min", ii == 2 ? 0 : -14 ); + setPreferenceProperty( precs[ii], "max", ii == 2 ? 3 : 14 ); setPreferenceProperty( precs[ii], "precision", 2 ); } -- 2.39.2