Is there a way of stopping buttons from moving to the top left of the VBoxContainer?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By hdo4ever

Whenever I move the button somewhere and test the menu or disable then re-enable visibility of the button, it moves to the top left corner of the VBoxContaine.

Any advice would be appreciated!

https://puu.sh/A2l5T/fb9a33cfea.png

https://puu.sh/A2l6Q/cb17263842.png

:bust_in_silhouette: Reply From: Diet Estus

A VBoxContainer is designed to automatically rearrange nodes. Same goes for HBoxContainer, MarginContainer, CenterContainer, and GridContainer.

If you don’t want the container to automatically position its children, use a plain ol’ Container. You can still anchor the children where you want them relative to the parent Container.

Ah thanks for the advice!

hdo4ever | 2018-04-14 01:13