Thanks, the animation suggestion worked. But how can I have it always scroll to 
the complete height?
What is that expression that I need to use in the to:? I tried contentHeight.




----- Original Message ----
From: "bea....@nokia.com" <bea....@nokia.com>
To: scorp...@yahoo.com
Cc: michael.bras...@nokia.com; qt-qml@trolltech.com
Sent: Fri, July 9, 2010 3:17:14 AM
Subject: Re: [Qt-qml] QML Questions

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


      

_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to