summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateslist.qml')
-rw-r--r--src/plugins/qmldesigner/components/stateseditor/stateslist.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
index b13bc6fdb9..901486f1e4 100644
--- a/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
+++ b/src/plugins/qmldesigner/components/stateseditor/stateslist.qml
@@ -161,8 +161,8 @@ Rectangle {
width:100
height:100
- anchors.left: parent.left
- anchors.leftMargin: (parent.width - width - container.baseStateOffset)/2
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.horizontalCenterOffset: -container.baseStateOffset / 2
anchors.bottom: parent.bottom
anchors.bottomMargin: 9
Image {