Replies: 1 comment 4 replies
-
I'm on mobile right now so my ability to test this is minimal. I grabbed an old slintpad link from a discussion I opened on animating paths and added a duration property to the animation. It seems to work fine: That's an old version of slint, maybe copy and paste that code into the latest slintpad to see if its not a regression? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to scroll a list of items using animate.
Because the list of items could be short or long I need the animate time to be dependent on the preferred-height of the VerticalLayout, or the number of items.
I can't get the animate duration to get it's value from a calculated property or a direct calculation or even a property that I assign constant value to.
If I do either of these it behaves as if the duration is 0.
Is there a way to have the duration be calculated in any way and not hard coded in the code in advance?
Beta Was this translation helpful? Give feedback.
All reactions