The Music and Weather app teams have been trying to determine how we can read the MainView or Page's Header height with the new API. With the updated imports to UITK 1.3 we are unable to do things like the following:
A large number of apps (clock, weather, filemanager, and probably others) use a PageWithBottomEdge component that make this or similar assignments. [1][2][3][4]
How can we access the height of the header in a reasonable fashion that also includes any Header Sections that may also be defined?
The Music and Weather app teams have been trying to determine how we can read the MainView or Page's Header height with the new API. With the updated imports to UITK 1.3 we are unable to do things like the following:
edgeLoader. item.flickable. contentY = -page.header.height
A large number of apps (clock, weather, filemanager, and probably others) use a PageWithBottomEdge component that make this or similar assignments. [1][2][3][4]
How can we access the height of the header in a reasonable fashion that also includes any Header Sections that may also be defined?
1- http:// bazaar. launchpad. net/~ubuntu- weather- dev/ubuntu- weather- app/reboot/ view/head: /app/components /PageWithBottom Edge.qml# L111 bazaar. launchpad. net/~ubuntu- clock-dev/ ubuntu- clock-app/ trunk/view/ head:/app/ upstreamcompone nts/PageWithBot tomEdge. qml#L107 bazaar. launchpad. net/~ubuntu- filemanager- dev/ubuntu- filemanager- app/trunk/ view/head: /src/app/ qml/upstream/ PageWithBottomE dge.qml# L108 bazaar. launchpad. net/~music- app-dev/ music-app/ trunk/view/ head:/app/ ui/NowPlaying. qml#L143
2 - http://
3 - http://
4 - http://