Commit de9b7262 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: Make anchoring consistent

If we anchor left or right we have to disable horizontal
anchoring.
Actually this is still simpler then what Qt Quick actually
supports, since Qt Quick does support anchoring to the left
and horizontal anchoring.
What is not supported is anchoring to the left, right and
horizontally.
This has to be fixed.

Change-Id: Id38e528d9d8a97961135370b0c9c0151bd4b6f18
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent c9029bf9
......@@ -94,7 +94,7 @@ ButtonRow {
onClicked: {
if (checked) {
anchorBackend.verticalCentered = false;
anchorBackend.horizontalCentered = false;
anchorBackend.leftAnchored = true;
} else {
anchorBackend.leftAnchored = false;
......@@ -112,7 +112,7 @@ ButtonRow {
onClicked: {
if (checked) {
anchorBackend.verticalCentered = false;
anchorBackend.horizontalCentered = false;
anchorBackend.rightAnchored = true;
} else {
anchorBackend.rightAnchored = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment