0 votes

I created a radio button (ButtonGroup) and it is performing its button jobs well but I can't move a member button of the group from its default vertical placement. Whenever I do that and save the project and run the game, the buttons come back to their default position. How to overcome this problem?

in Engine by (77 points)

1 Answer

0 votes

Do you want to make some space between radio buttons?
Then add MarginContainer between buttons.
And set Min Size of MarginContainer.
This will make some space.

by (9,712 points)

Actually I don't want them to be in the same vertical/horizontal line. Imagine 3 buttons placed in the 3 vertices of a triangle.

Hello codevanya.

I was having the same problem (wanted to have different position for the radio buttons, and in my case, the radio button had a different icon. I managed to remove the automatic control and leave the buttons where I wanted using a 'Container' under the 'ButtonGroup' and placing the CheckBoxes under the Container.

Like this:

'ButtonGroup'

'Container'

'CheckBox1'
'Checkbox2'

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.