How do I make my key bindings display correctly?

Godot Version

v4.6.1.stable.official [14d19694e]

Question

I’m reworking my controls menu so that instead of text, it would display actual keys or joypad buttons. Before, they were all shoved into a vertical container and it worked fine, however now, it stretches them out like this:

If I try to edit the key size via code, it does squish it back into the intended square form, but still keeps it on the left. Changing the container’s alignment parameter doesn’t help much and only reverts it back to image 1.

So? What can I do about this? Is it even possible to have a dozen differently-sized buttons in a vertical container, or is it better to use something else?

disregard that I poked around, learned about center containers and all is fine