[Qt-qml] scrolling a flickable to a particular location
Martin Jones
martin.jones at nokia.com
Tue Aug 24 01:31:16 CEST 2010
On Tue, 24 Aug 2010 12:24:52 am ext Bartosh Wroblevksy wrote:
> Sorry for the flow of perhaps naive questions. But I would like to know if
> there is a way to scroll a flickable to a particular location
> programmaticaly with javascript. For a ListView they have
> ListView::positionViewAtIndex (
> int<http://doc.qt.nokia.com/4.7-snapshot/qml-int.html> index, PositionMode
> mode ), do they have something similar for flickables that takes in
> coordinates?
contentX and contentY position the contents of the Flickable. Add a
NumberAnimation to scroll smoothly.
--
Martin
More information about the Qt-qml
mailing list