开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜