Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. SequentialAnimation, how to reduce the gap.
Forum Updated to NodeBB v4.3 + New Features

SequentialAnimation, how to reduce the gap.

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 688 Views 1 Watching
  • 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved