summaryrefslogtreecommitdiff
path: root/components/controls/SpinBoxRow.qml
diff options
context:
space:
mode:
authorATMDA <atdma2600@gmail.com>2025-11-15 11:20:06 -0500
committerATMDA <atdma2600@gmail.com>2025-11-15 11:20:06 -0500
commit442b49e0e1975d51efcef90d10566c90dedbf7e1 (patch)
tree499aab8704fb2ab8d19251ecb6e11365bdfd34e3 /components/controls/SpinBoxRow.qml
parentcontrolcenter: appearance transparency values now use sliders (diff)
downloadcaelestia-shell-442b49e0e1975d51efcef90d10566c90dedbf7e1.tar.gz
caelestia-shell-442b49e0e1975d51efcef90d10566c90dedbf7e1.tar.bz2
caelestia-shell-442b49e0e1975d51efcef90d10566c90dedbf7e1.zip
controlcenter: appearance pane corrections to fp/int values such as scales and border
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);