Important: Please read the Qt Code of Conduct -

Binding in a looping Sequential Animation doesn't work?

  • Check out this code:

    @ SequentialAnimation on coord {
    NumberAnimation { to: topw.width; duration:2000 ; easing.type: Easing.InQuad }
    NumberAnimation { to: 0; duration:2000 ; easing.type: Easing.OutQuad }
    loops: Animation.Infinite
    running: true

    I can log topw.width and see that it changes as I resize my window. However this animation seems to start with only the initial value of topw.width and then not look at it again. How I can I have the binding consistently update while the animation is running?

Log in to reply