int min = addPreference( tr( "VISU_MIN" ), imposedGr, LightApp_Preferences::DblSpin, "VISU", "scalar_range_min" );
int max = addPreference( tr( "VISU_MAX" ), imposedGr, LightApp_Preferences::DblSpin, "VISU", "scalar_range_max" );
- setPreferenceProperty( min, "step", 0.1 );
- setPreferenceProperty( max, "step", 0.1 );
+
+ setPreferenceProperty( min, "min", -1.e12 );
+ setPreferenceProperty( min, "max", 1.e12 );
+ setPreferenceProperty( min, "step", 0.1 );
+ setPreferenceProperty( min, "precision", -12 );
+
+ setPreferenceProperty( max, "min", -1.e12 );
+ setPreferenceProperty( max, "max", 1.e12 );
+ setPreferenceProperty( max, "step", 0.1 );
+ setPreferenceProperty( max, "precision", -12 );
// group: "Font"
int fontGr = addPreference( tr( "VISU_FONT" ), sbarTab );