Why is my control not expanding?

Godot Version

4.6.1

Question

I have a ui element. I want the parent control to expand with the text because tge node is later put in other containers.

I tried changing all the settings, but none worked.

Try making the margin container the root instead of the control node. I can’t explain why, but I have had issues with base control nodes as scene containers.

1 Like

Try to change the parent node to Control or PanelContainer