These buttons sit in a vertical box:
With the above settings, the buttons will conform to the size of the vertical box, as in:
If you need them to behave in some other specific way, we’ll need more details.