aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2016-12-26 11:44:07 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2016-12-28 10:47:44 +0000
commit00a7dfd16d4484064bd0e5601720993d0525995a (patch)
tree952e2d9ed056d174a07e8c55a9524e027f2428c2 /src
parent8959daf190bbb3552f6a23bb66142c6b6fe65c63 (diff)
Material|SpinBox: Fix trivial C&P typo
Change-Id: I8bdd973f69ae246220b58a312f5d82d9134f35f6 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-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
}
}