Salome HOME
bos #20430 [CEA 20428] FIELDS : improvement of simplified visualisations: fix problem...
authorrnv <rnv@opencascade.com>
Tue, 4 May 2021 16:03:49 +0000 (19:03 +0300)
committerrnv <rnv@opencascade.com>
Tue, 4 May 2021 16:03:49 +0000 (19:03 +0300)
src/MEDCalc/gui/dialogs/WidgetPresentationParameters.cxx

index a81da3933d260caad2b27d5da44568c0760403e9..839e78174584d400eaf06b46a3bed62f398d7dd3 100644 (file)
@@ -96,6 +96,10 @@ WidgetPresentationParameters::WidgetPresentationParameters(QWidget* parent)
   // Min and max values
   _ui.spinCustomRangeMin->setRange(std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max());
   _ui.spinCustomRangeMax->setRange(std::numeric_limits<double>::lowest(), std::numeric_limits<double>::max());
+  
+  _ui.spinCustomRangeMin->setDecimals(6);
+  _ui.spinCustomRangeMax->setDecimals(6);
+  
   _ui.spinNormalX->setRange(0.0, 1.0);
   _ui.spinNormalY->setRange(0.0, 1.0);
   _ui.spinNormalZ->setRange(0.0, 1.0);