UI Scaling Inconsistency when mixed with elements having minimum sizes

Godot Version

4.7.2

Question

I have an art heavy card for my game. The card contain many icons etc and all have a minimum size configured for a particular resolution let’s say 500x700. at this resolution the card behaves perfectly.

Now when I use the card in some other game screen and it have less space than 500x700 - then the elements overflow and when there is more space - then also it misbehaves - like some elements scale properly and some do not.

I want this behavior - instead of recalculating all the children position - the card should be scaled like an image - applying uniform scale to all the elements. This will make sure that the card looks as it is intended to look on all sizes. How can I do that?

If you want to scale it as if it were an image then you’ll need to use Control.scale or Control.offset_transform_scale