Hi,
I have an element which has a Width
of 10% of its parents, then I’d like to Resize it to 50 Points. But a <Resize X="50"...
makes 50% of its parent and not 50 Points large. (And of course I’d like to be able to do the contrary too).
Is there any solution to this problem ?
Thanks !
Changing the units of a property is not supported in animation.
There are a couple of different ways to achieve the type of resizing animation that you want. Can you describe your layout a bit or provide a UX sample? I can then point you in the right direction. We might use just a transform and clipping, the LimitSize box sizing system, or a MaxHeight.
Note that Resize
should not be used for this purpose. It’s a special purpose animator meant only to be used in a LayoutAnimation
trigger.
My bad, the problem was not with a Resize
but with a Move
.
What I’d like to do is : I have a list of card on my screen, and when one is clicked it slowly grows to cover all the screen. I provided an example on this thread : https://www.fusetools.com/community/forums/howto_discussions/screen_size
Sorry for the double thread, I didn’t think it was (I guess now) a single problem.