aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/SpinBox.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-01-02 10:23:36 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-01-02 10:23:36 +0100
commit715023b490f4cbae7d6b11356f7247979b01ad00 (patch)
treef7851e0c366d0b1a43710be13ad2e8d5a4eb2525 /src/imports/controls/material/SpinBox.qml
parent5be4488fb15b544926af203feeffa5ced8184f1f (diff)
parent00a7dfd16d4484064bd0e5601720993d0525995a (diff)
Merge remote-tracking branch 'origin/5.8' into dev
Conflicts: src/imports/platform/qquickplatformmenuitem.cpp Change-Id: I4d399aa81a31112edf6030b52ba5d68828f9729d
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 61f79a53..38a7b2c0 100644
--- a/src/imports/controls/material/SpinBox.qml
+++ b/src/imports/controls/material/SpinBox.qml
@@ -102,7 +102,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
}
@@ -110,7 +110,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
}
}