BoxContainers are not stable

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Alp Atamanalp
:warning: Old Version Published before Godot 3 was released.

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?

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?

Zylann | 2017-10-25 20:03

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…

Alp Atamanalp | 2017-10-26 05:30

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

istemihan | 2021-06-03 08:54

:bust_in_silhouette: Reply From: VitaZheltyakov

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