+1 vote

I want to make a list of buttons, but when inside the VBoxContainer, they are just as large as the largest button, determined by which one has more stuff written on them. That is a problem in my case. How can I make so the buttons all have a fixed width? And I can't use a button array in this case, just to inform. I need to use the ScrollContainer.

in Engine by (1,093 points)

1 Answer

+4 votes
Best answer
  1. Turn off all horizontal size flags of Button (Fill, Expand)
  2. Set Min Size of Button
by (9,702 points)
selected by

Thank you! Completely overlooked the Min Size property!

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.