I'm trying to make the anchor of my control node go Full Rect with the Layout button of the interface.

When I do this the bounding box that appeared when creating the Control node, either disappears or shrinks to 0, 0. I'm not sure. It doesn't cover the screen. It happens in some projects I have, but not all. What could be causing it? Thanks.

I'm using version 3.3

Control nodes work based on their parent's dimensions. If you want full rect, you need to have a Control node as the parent (ideally as the root node), and set the full rect there (the children will then work).

@cybereality said: Control nodes work based on their parent's dimensions. If you want full rect, you need to have a Control node as the parent (ideally as the root node), and set the full rect there (the children will then work).

I have a Control node as the parent, it's the node that I want to do full rect to.

Can you show a picture of the node setup in the non-working scenes or post an example scene that exhibits the issue? I haven’t had this issue before with full rect control nodes, even when set to full rect in a parent node, but I also haven’t tried Godot 3.3 yet.

Full rect alone only works if the root is a Control node (or derived classes). If you have a higher parent (above the Control node) then you need to set it's size manually (you can use min rect size for example) to the full screen width (though you'll then be required to resize it manually in code when the window changes). It's best to work with UI in it's own scene with the root as a Control node.

2 years later