aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/macos/SpinBox.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/macos/SpinBox.qml')
-rw-r--r--src/quickcontrols/macos/SpinBox.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quickcontrols/macos/SpinBox.qml b/src/quickcontrols/macos/SpinBox.qml
index f12fc6d2fe..161ddd0231 100644
--- a/src/quickcontrols/macos/SpinBox.qml
+++ b/src/quickcontrols/macos/SpinBox.qml
@@ -58,8 +58,8 @@ T.SpinBox {
}
up.indicator: Item {
- x: parent.width - width
- y: (parent.height / 2) - height
+ x: control.width - width
+ y: (control.height / 2) - height
implicitWidth: upAndDown.width
implicitHeight: upAndDown.height / 2
@@ -67,7 +67,7 @@ T.SpinBox {
}
down.indicator: Item {
- x: parent.width - width
+ x: control.width - width
y: up.indicator.y + upAndDown.height / 2
implicitWidth: upAndDown.width
implicitHeight: upAndDown.height / 2