diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml index 41abe776cec..25b0d498548 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/ItemPane.qml @@ -325,12 +325,10 @@ Rectangle { frameVisible: false id: tabView - height: Math.max(layoutSectionHeight, specficsHeight, advancedHeight) + extraHeight - property int advancedHeight: 0 - property int layoutSectionHeight: 0 - property int specficsHeight: 0 + height: currentHeight + extraHeight + property int currentHeight: getTab(currentIndex).item.implicitHeight property int extraHeight: 40 Tab { @@ -340,8 +338,6 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right - onImplicitHeightChanged: tabView.specficsHeight = implicitHeight - Loader { anchors.left: parent.left anchors.right: parent.right @@ -366,11 +362,6 @@ Rectangle { source: specificsUrl; property int loaderHeight: specificsOne.item.height + tabView.extraHeight - onLoaderHeightChanged: tabView.specficsOneHeight = loaderHeight - - onLoaded: { - tabView.specficsOneHeight = loaderHeight - } } } } @@ -381,8 +372,6 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right - onImplicitHeightChanged: tabView.layoutSectionHeight = implicitHeight - LayoutSection { } @@ -713,8 +702,6 @@ Rectangle { anchors.left: parent.left anchors.right: parent.right - onImplicitHeightChanged: tabView.advancedHeight = implicitHeight - AdvancedSection { } LayerSection {