aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/SpinBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/material/SpinBox.qml')
-rw-r--r--src/imports/controls/material/SpinBox.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/material/SpinBox.qml b/src/imports/controls/material/SpinBox.qml
index 110032be..8a3b0932 100644
--- a/src/imports/controls/material/SpinBox.qml
+++ b/src/imports/controls/material/SpinBox.qml
@@ -125,7 +125,7 @@ T.SpinBox {
Rectangle {
x: (parent.width - width) / 2
y: (parent.height - height) / 2
- width: Math.min(parent.width / 3, parent.width / 3)
+ width: Math.min(parent.width / 3, parent.height / 3)
height: 2
color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor
}
@@ -133,7 +133,7 @@ T.SpinBox {
x: (parent.width - width) / 2
y: (parent.height - height) / 2
width: 2
- height: Math.min(parent.width / 3, parent.width / 3)
+ height: Math.min(parent.width / 3, parent.height / 3)
color: enabled ? control.Material.foreground : control.Material.spinBoxDisabledIconColor
}
}