From d00b75a0b722cf29b658615f525d0681698e2c85 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Wed, 29 Jun 2016 18:27:30 +0200 Subject: [PATCH] QmlDesigner: fix wrong AnchorRow initialization Change-Id: I281f57fab8f5900362d2393b0b578957e77c6f4d Reviewed-by: Thomas Hartmann --- .../propertyEditorQmlSources/QtQuick/AnchorRow.qml | 2 +- .../propertyEditorQmlSources/QtQuick/LayoutSection.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml index d4f45ee3e94..f869c56c0cb 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml @@ -46,7 +46,7 @@ RowLayout { signal targetChanged - property bool verticalAnchor: true + property bool verticalAnchor property bool invertRelativeTargets: false diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/LayoutSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/LayoutSection.qml index f3c802264ab..9bede49452c 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/LayoutSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/LayoutSection.qml @@ -151,7 +151,7 @@ Section { onTargetChanged: { anchorBackend.horizontalTarget = currentText } - verticalAnchor: true + verticalAnchor: false } AnchorRow { @@ -163,7 +163,7 @@ Section { onTargetChanged: { anchorBackend.verticalTarget = currentText } - verticalAnchor: false + verticalAnchor: true } }