Hello,

On Android applications, when the page is larger than the screen, it can scroll down to show it. How can achive that with QML?

I've tried the Flickable item:

Qt Code:
  1. Item {
  2. anchors.fill: parent
  3. anchors.leftMargin: 5
  4. Flickable {
  5. id:view
  6. anchors.fill: parent
  7. contentHeight: content.height
  8. Item {
  9. id: content
  10. Text {
  11. id: tWhat
  12. text: qsTr("What")
  13. }
  14. Text {
  15. id: tWhere
  16. text: qsTr("Where")
  17. anchors.top: tWhat.bottom
  18. anchors.topMargin: 300
  19. }
  20. }
  21. }
  22. Component.onCompleted: {
  23. console.log(content.height)
  24. }
  25. }
To copy to clipboard, switch view to plain text mode 

but content.height returns 0