Why can't I split 3 HSplitContainers into 3 equal parts?

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

Hi, I’m really bad when it comes to creating the UI in Godot. It’s the part that I really struggle to fully understand. In this case, I’m trying to create 3 HSplitContainers inside a VSplitContainer. The idea is to have all three of them the same size, but I can’t make it work. The UI only shows two of them, and the third one is in a random position.

I have set “fill” and “expand” properties for all three of them. The VSplitContainer has “fill” set to “horizontally” and “vertically”.

How can I make all three of them the same size vertically and fill horizontally?

:bust_in_silhouette: Reply From: crossbito

I found the reason why. I was using the wrong element. I should have used VBoxContainer. VSplitContainer only works with two elements.