Set a fixed width for VBoxContainer

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mateusak
:warning: Old Version Published before Godot 3 was released.

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.

:bust_in_silhouette: Reply From: volzhs
  1. Turn off all horizontal size flags of Button (Fill, Expand)
  2. Set Min Size of Button

Thank you! Completely overlooked the Min Size property!

mateusak | 2016-12-11 15:40