From 11d4696aaa35e9e648f5ab25fba917abe32f725a Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 4 May 2021 19:03:49 +0300 Subject: [PATCH] bos #20430 [CEA 20428] FIELDS : improvement of simplified visualisations: fix problem with custom range. --- src/MEDCalc/gui/dialogs/WidgetPresentationParameters.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MEDCalc/gui/dialogs/WidgetPresentationParameters.cxx b/src/MEDCalc/gui/dialogs/WidgetPresentationParameters.cxx index a81da3933..839e78174 100644 --- a/src/MEDCalc/gui/dialogs/WidgetPresentationParameters.cxx +++ b/src/MEDCalc/gui/dialogs/WidgetPresentationParameters.cxx @@ -96,6 +96,10 @@ WidgetPresentationParameters::WidgetPresentationParameters(QWidget* parent) // Min and max values _ui.spinCustomRangeMin->setRange(std::numeric_limits::lowest(), std::numeric_limits::max()); _ui.spinCustomRangeMax->setRange(std::numeric_limits::lowest(), std::numeric_limits::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); -- 2.39.2