Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    SequentialAnimation, how to reduce the gap.

    QML and Qt Quick
    1
    1
    609
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mrdebug
      mrdebug last edited by

      Hi everybody. I have implemented the "SequentialAnimation on y {" to obtain a floating object from Y to Y+ 30. How can I reduce the gap (30 to zero) dinamically?

      @ SequentialAnimation on y {
      loops: Animation.Infinite;
      NumberAnimation {
      from: y- floatgap / 2;
      duration: floattime
      easing.type: Easing.InOutQuad;
      to: y+ floatgap / 2;
      }
      NumberAnimation {
      from: y+ floatgap / 2;
      duration: floattime
      easing.type: Easing.InOutQuad;
      to: y- floatgap / 2;
      }

      }@
      

      Need programmers to hire?
      www.labcsp.com
      www.denisgottardello.it
      GMT+1
      Skype: mrdebug

      1 Reply Last reply Reply Quote 0
      • First post
        Last post