qtqmlflickable

QML - Move to top #TOP


I am using a Flickable which is embedded in a Rectangle. There is a button in the bottom of the rectangle. My requirement is when I press the button my Flickable will move to top. Its almost like #TOP in HTML. Is anybody have an idea how to achieve this?


Solution

  • You should be able to set Flickable's contentY property to 0.