Topic was automatically imported from the old Question2Answer platform.
Asked By
Brice
Old Version
Published before Godot 3 was released.
Hello, when i add an empty button in a PanelContainer in the editor toolbar via add_control_to_container(CONTAINER_TOOLBAR, the tool bar is resized vertically. Is it possible to avoid that ?
I have tried several things but nothing works, it seems that the minimum height of my PanelContainer (by default 14*14) is modified to a bigger value but i don’t find why.
Are you sure the Control you add to the toolbar (and everything inside it) is set to have a smaller size? Did you also checked margins?