[Qt-qml] QML Questions

bea.lam at nokia.com bea.lam at nokia.com
Fri Jul 9 09:17:14 CEST 2010


Hi Jason,

To scroll a flickable, change the contentY property.

E.g. change

>            NumberAnimation    on visibleArea.yPosition {
>                from:0.0
>                to: 1.0
>                easing: Easing.Linear
>                duration: 10000
>            }
>    }

to something like:

       NumberAnimation on contentY {
           to: 500
           easing: Easing.Linear
           duration: 1000
       }


> 
> The message I get is yPosition is readOnly. But it is not marked as such in the  
> 

Ah, that's a bug, will have look at that.

Also if you are interested in the latest QML docs, you can find the auto-generated docs at http://doc.qt.nokia.com/4.7-snapshot/.


regards,

Bea





More information about the Qt-qml mailing list