don-tnowe / godot-extra-controls

MIT License
88 stars 3 forks source link

Allow proportion-based scaling to MaxSizeContainer #4

Closed don-tnowe closed 3 months ago

don-tnowe commented 4 months ago

Currently, it's tied to size in pixels. it should be able to be configured on ratio.

For example: (3, -1) would keep Width (X) no larger than 3x of Height (Y), while Height itself scales as usual (set to -1 = don't change)