Repack / autosize containers at runtime

Godot Version

4.3rc3

Question

My label is size X. i add text. The label and container grow to size X+Y. i subtract some text. The container stays at size X+Y. Is there a way to make it shrink back down?

In other languages there are commands like repack() that fit/compress everything back after stretch marks. Does Godot have anything like that?

This happens at both design and runtime but right now my concern is runtime. i’m doing multilingual, languages are radically different lengths and i’m having a hard time preparing for the impact of that on the UI.