diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-11-25 14:54:39 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2013-11-25 14:56:24 +0100 |
commit | ccf26a85944508aa7829d3de99153f8ac980e27f (patch) | |
tree | 36f025e56f83c196241f9a367b29def1ae59f2bf /src/plugins/qmldesigner/components/stateseditor/stateslist.qml | |
parent | 36c3a12f383f78cb84664306c3cc0a4a0ac96f40 (diff) |
QmlDesigner.StatesEditor: fix layout
Change-Id: Ibec16e7bff4f43f7bb38d8b34f9fcf0d128ec45d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateslist.qml')
-rw-r--r-- | src/plugins/qmldesigner/components/stateseditor/stateslist.qml | 4 |
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 { |