I’m a little confused on how to scale widgets in slate. At first I thought it was SetContentScale but then I realized that is probably for the scaling on devices. So then I looked at RenderTransform, from what I can tell I can’t edit this struct directly, so I think at best, I need to create a new one with new values…but I’m not sure whats the best way to do this, it feels every way I can do it is really messy, for instance to get the current scale I do this:
Is this really the best way to do this?
At this point, I’m not sure how to create a new transform with a new scale, but maintain all the other values of the previous transform. Any insight?