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 th开发者_Go百科e button my Flickable will move to top.
Its almost like #TOP in HTML.
Is anybody have an idea how to achieve this?
You should be able to set Flickable's contentY property to 0.
精彩评论