QmlDesigner: Resize Loader

Task-number: QDS-745
Change-Id: Idf126f5ed00cce74921a320d9bf17ef620ccd511
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2019-08-26 14:50:04 +02:00
parent 00b29fd90d
commit 8751d0c7d9

View File

@@ -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
}
}
}