forked from qt-creator/qt-creator
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:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user