Is there a way to fix the size of columns of a GridContainer (or HBoxContainer)

Godot Version

4.2

ScreenShot

Question

I am new to godot and I am building an option menu with sliders to change the main volume and the music volume. I want a container (HBoxContainer / other) to contain the label with a description and the slider for each type of setting. The Containers are in a VBoxContainer.

As shown in the screenshot, when a label is larger, the slider is shorter ( I set the H separation to 100 px ) . How can I get my sliders to be the same size?
For example, how can I get my slider to occupy exactly half of the HboxContainer so that it would scale with different screen sizes?


i use it that way, vboxcontainer is in margin container and it expands vertical and horizontal

2 Likes

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