slint
slint copied to clipboard
font-size animation is broken
trafficstars
font-size animation is broken (at least for Text) when adding font-size to animate and changing it the Text will remain in the same size I had to use a float property to animate it and bound the font-size to the value of this property multiplied by px
Do you have a small example? I do not get what you are doing exactly.
Looks like it is working.
I tried this example, and it animates:
_ := Text {
text: "Hello World";
font-size: 15px;
animate font-size { duration: 1s; }
TouchArea { clicked => { root.font-size = 50px; } }
}
Closed as the bug cannot be reproduced