From a0e5d662998641af1b5155182b949f308c194263 Mon Sep 17 00:00:00 2001 From: casper Date: Tue, 8 Feb 2022 12:01:42 +0100 Subject: [PATCH] Disable stepSize in all SpinBoxes where stepSize is a non integer value This should be enabled. However this is a feature gap of QtControls 2.x --- resources/qml/Preferences/Materials/MaterialsView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/Preferences/Materials/MaterialsView.qml b/resources/qml/Preferences/Materials/MaterialsView.qml index 283d7a84d2..a3aa451963 100644 --- a/resources/qml/Preferences/Materials/MaterialsView.qml +++ b/resources/qml/Preferences/Materials/MaterialsView.qml @@ -243,7 +243,7 @@ Item value: properties.density decimals: 2 suffix: " g/cm³" - stepSize: 0.01 // spinboxes can only cointain reals, a non-integer value can not be entered as the step size +// stepSize: 0.01 // spinboxes can only cointain reals, a non-integer value can not be entered as the step size onEditingFinished: base.setMetaDataEntry("properties/density", properties.density, value) onValueChanged: updateCostPerMeter() @@ -258,7 +258,7 @@ Item value: properties.diameter decimals: 2 suffix: " mm" - stepSize: 0.01 // spinboxes can only cointain reals, a non-integer value can not be entered as the step size +// stepSize: 0.01 // spinboxes can only cointain reals, a non-integer value can not be entered as the step size onEditingFinished: {