diff options
Diffstat (limited to 'src/quickcontrols2/universal/SpinBox.qml')
-rw-r--r-- | src/quickcontrols2/universal/SpinBox.qml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quickcontrols2/universal/SpinBox.qml b/src/quickcontrols2/universal/SpinBox.qml index 10c12589de..0bb5e4b19b 100644 --- a/src/quickcontrols2/universal/SpinBox.qml +++ b/src/quickcontrols2/universal/SpinBox.qml @@ -84,9 +84,9 @@ T.SpinBox { up.indicator: Item { implicitWidth: 28 - height: parent.height + 4 + height: control.height + 4 y: -2 - x: control.mirrored ? 0 : parent.width - width + x: control.mirrored ? 0 : control.width - width Rectangle { x: 2; y: 4 @@ -110,9 +110,9 @@ T.SpinBox { down.indicator: Item { implicitWidth: 28 - height: parent.height + 4 + height: control.height + 4 y: -2 - x: control.mirrored ? parent.width - width : 0 + x: control.mirrored ? control.width - width : 0 Rectangle { x: 2; y: 4 |