Godot Version
v4.4.1.stable.mono.official [49a5bc7b6]
Question
Hi, I have a ColorRect node with a Label as its child. How can I make the ColorRect automatically resize to fit the text inside the Label? Thanks.

v4.4.1.stable.mono.official [49a5bc7b6]
Hi, I have a ColorRect node with a Label as its child. How can I make the ColorRect automatically resize to fit the text inside the Label? Thanks.

You’ll need to use containers, like a PanelContainer for example, to do that.
This does indeed work, thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.