summaryrefslogtreecommitdiff
path: root/components/controls/SpinBoxRow.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/controls/SpinBoxRow.qml')
-rw-r--r--components/controls/SpinBoxRow.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/controls/SpinBoxRow.qml b/components/controls/SpinBoxRow.qml
index a4441c5..2507b80 100644
--- a/components/controls/SpinBoxRow.qml
+++ b/components/controls/SpinBoxRow.qml
@@ -13,6 +13,7 @@ StyledRect {
required property real value
required property real min
required property real max
+ property real step: 1
property var onValueModified: function(value) {}
Layout.fillWidth: true
@@ -41,6 +42,7 @@ StyledRect {
CustomSpinBox {
min: root.min
max: root.max
+ step: root.step
value: root.value
onValueModified: value => {
root.onValueModified(value);