+1 vote

By default buttons are placed directly under each other. Is there a way to increase/decrease this separation? So each button are 1 pixel apart from each other for example.

in Engine by (1,087 points)

1 Answer

+1 vote
Best answer

You can make it with V(H)BoxContainer and it's Separation property

    - VBoxContainer (or HBoxContainer)
        - Button
        - Button
        - Button
by (9,638 points)
selected by

Thank you! I tried that before, but it seems my VBoxContainer had been set to a custom separation of 0, so when I modified it in the theme it didn't affect it.

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.