diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml index a74fc94f1e5..5eb3a7cf854 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml @@ -247,8 +247,11 @@ Rectangle { active = true } + property int loaderHeight: specificsOne.item.height + tabView.extraHeight + onLoaderHeightChanged: tabView.specficsOneHeight = loaderHeight + onLoaded: { - tabView.specficsTwoHeight = specificsTwo.item.height + tabView.extraHeight + tabView.specficsTwoHeight = loaderHeight } } @@ -259,8 +262,11 @@ Rectangle { id: specificsOne; source: specificsUrl; + property int loaderHeight: specificsOne.item.height + tabView.extraHeight + onLoaderHeightChanged: tabView.specficsOneHeight = loaderHeight + onLoaded: { - tabView.specficsOneHeight = specificsOne.item.height + tabView.extraHeight + tabView.specficsOneHeight = loaderHeight } } }