+1 vote

I manually arrange the positions of my various VBox and HBox containers in my scenes. But whenever I make a change not even related to their positions, widths, heights; i.e attaching a texture to a button under a VBoxContainer, I lose all positional, dimensional changes that I already made! What am I missing? Aren't the BoxContainers the right way to visually template the scenes? Or is this a bug?

in Engine by (13 points)
edited by

I think the VBox and HBox containers are "layout" containers, which means they will rearrange their contents vertically or horizontally automatically. It depends what you are arranging?

first of all: thank you! but the thing is I'm not losing the arrangement in runtime. I'm losing it in the editor! they just become a mess after I make a move like attaching a texture, or a script to the node...

Same problem here. Have you managed to solve this issue by any chance?

1 Answer

0 votes

Use:
-Control (your size and pos)
--VBoxConteiner (fullsize)

by (208 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.