I think you are actually using a
VBoxContainer right, since your buttons are stacked vertically.
One way to solve your issue is to place the Vbox or Hbox container inside a
MarginContainer, and set the
CustomConstants to the margins you want. Your tree would look something like this: