User Interface Containers not expanding edge to edge

Godot Version

4.2.1

Question

I am struggling making a VBoxContainer fill/expand completely within a HBoxCotainer to be against another VBoxContainer. VBox1 is a sidebar on the left side, and Vbox2 is a dashboard which is filling the area and I am wanting to be flush against side by side Vbox1. However there is a gap in between both containers than I can’t get rid of. I am certain all containers don’t have any margins, I’m not sure what to look for next.

1 Like

Both BoxContainers have a small gap between elements by default BoxContainer — Godot Engine (stable) documentation in English. You can disable it by checking the checkbox and setting it to 0 under Themes Override / Constants / Separation in the inspector.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.