How do I get box containers to work for non-control nodes?

Godot Version

4.5.1.stable

Question

I know that box containers don’t work for nodes that aren’t control nodes, so what I’m really asking is what’s the best workaround?

To be exact: I have Area2ds that I want in an HBoxContainer so they automatically align the way I want.

All help appreciated. Thanks!

Put some other controls inside the container and let areas copy their position/size.

2 Likes

Thanks.