From 898bdf12c09dd189de4bb9ec3a87aff2863718fa Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 5 Sep 2019 16:41:07 +0200 Subject: [PATCH] QmlDesigner: Fix issue in loader resizing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie37b11672fdc6a1f29e2077ff4989a2bdd89c130 Reviewed-by: Tim Jenssen Reviewed-by: Henning Gründl --- .../qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml index 5eb3a7cf854..d21f5f19fa8 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml @@ -247,8 +247,8 @@ Rectangle { active = true } - property int loaderHeight: specificsOne.item.height + tabView.extraHeight - onLoaderHeightChanged: tabView.specficsOneHeight = loaderHeight + property int loaderHeight: specificsTwo.item.height + tabView.extraHeight + onLoaderHeightChanged: tabView.specficsTwoHeight = loaderHeight onLoaded: { tabView.specficsTwoHeight = loaderHeight