How do I get my ScrollContainer to scroll horizontally and vertically?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Kuraiko

I am trying to build an option menu.

I have a ScrollContainer, which contains a VBoxContainer and in the VBoxContainer are all the controls for the different settings, like so:

  • ScrollContainer
  • VBoxContainer
    • LabelHeader
 - HBoxOption1
 - ...

In the ScrollContainer, both scroll_horizontal_enabled and scroll_vertical_enabled are enabled.

However, when I resize the window, so the VBoxContainer doesn’t fit in it anymore, only a vertical scroll bar appears. How do I get a horizontal scroll bar?