Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

quick 1.1 shake animation

$
0
0
Something like this Rectangle {     x: 50     ...     NumberAnimation on x{         id: anim         running: true         to: 60         duration: 100         onStopped: {             if(anim.to===60) { anim.from=60; anim.to=50; } else {  anim.from=50; anim.to=60 }             start()         }     } }

Viewing all articles
Browse latest Browse all 4972

Trending Articles