I added some prints in our Page code. In Page10.qml (also valid for Page 1.1), I have this now:
// avoid using parent.height because parent may be a Loader which does not have its height set.
height: parentNode ? page.flickable ? parentNode.height : parentNode.height - internal.headerHeight : undefined
onHeightChanged: print("height of "+page+" changed to "+parentNode.height+" - "+internal.headerHeight+" = "+height)
and this is being printed for the incorrect page:
qml: parent node of Page11_QMLTYPE_35(0x2779620) = Tab_QMLTYPE_26(0x217f4f0)
qml: parent height = 400
qml: height of Page11_QMLTYPE_35(0x2779620) changed to 400 - 72 = 328
qml: parent node of Page11_QMLTYPE_35(0x2779620) = Tab_QMLTYPE_26(0x217f4f0)
qml: parent height = 400
qml: height of Page11_QMLTYPE_35(0x2779620) changed to 400 - 72 = 400
so it seems that height is not updated, even though internal.headerHeight is correct here.
I added some prints in our Page code. In Page10.qml (also valid for Page 1.1), I have this now:
// avoid using parent.height because parent may be a Loader which does not have its height set. headerHeight : undefined nged: print("height of "+page+" changed to "+parentNode. height+ " - "+internal. headerHeight+ " = "+height)
height: parentNode ? page.flickable ? parentNode.height : parentNode.height - internal.
onHeightCha
and this is being printed for the incorrect page:
qml: parent node of Page11_ QMLTYPE_ 35(0x2779620) = Tab_QMLTYPE_ 26(0x217f4f0) QMLTYPE_ 35(0x2779620) changed to 400 - 72 = 328 QMLTYPE_ 35(0x2779620) = Tab_QMLTYPE_ 26(0x217f4f0) QMLTYPE_ 35(0x2779620) changed to 400 - 72 = 400
qml: parent height = 400
qml: height of Page11_
qml: parent node of Page11_
qml: parent height = 400
qml: height of Page11_
so it seems that height is not updated, even though internal. headerHeight is correct here.