I'm pretty new to Godot and trying to do some simple tasks to get accustomed to the engine. Currently, I want to build a sort-of table in the UI to display information nicely.
What I want is simple: I want a lable that is left-aligned and a value that is right-aligned. To get it positioned uniformely over multiple lines I use HBoxContainers inside a VBoxContainer. I thought, this would make a somewhat flexible grid.
Ideally, the left label in my HBoxContainer would have a fixed width while the right label would fill the remaining space in the container, so every right-aligned value would be at the right border of the Container.

In the end, it would look something like this:

I'm pretty sure, this should be easy, but I fail to get this to work. I would be grateful if you could point me to the right direction in which I could find a solution.

Looks more like a case for a GridContainer. With nested BoxContainers you will have a hard time to get a consistent layout.

It's actually possible, I just had to dig a bit deeper:

So, how did I do this?
In the HBoxContainer, Layout -> Container Sizing -> Horizontal should be set as "fill" (which is the default, I guess)
For the value label, I also had to go to Control -> Layout -> Container Sizing and check "Expand" to let it fill the remaining space of the BoxContainer.
If I wanted a fixed width for the label, maybe for styling purposes, I could've set that with Control -> Layout -> Custom Minimum Size, but then it wouldn't be much different from a GridContainer, as it seems.