Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

animation does not work as excepted in qml



  • hi, i used below code to show a message with sequential animation

            SequentialAnimation
            {
                id: showMessage
                loops: 1
    
                PropertyAnimation
                {
                    target: rctMessage
                    property: "x"
                    from: root.width + 50
                    to: xPosition
                    duration: 500
                }
    
                PauseAnimation { duration: 2000 }
    
                PropertyAnimation
                {
                    target: rctMessage
                    property: "x"
                    duration: 500
                    to: root.width - 500
                }
    }
    

    when pause animation finishes second propertayanimation runs fine but not animated i don't really what is wrong with this |:
    NOTE: sometimes second animation works fine and sometimes not



  • This post is deleted!

Log in to reply