How can I better align these text boxes

Working on getting my menu widget setup and I’ve placed text boxes to represent values (hp, hpmax, level, mana, etc) in a horizontal box. It looks like I could solve the issue mathematically determining a weight for each text based on the horizontal box size but, I’m looking for a better way.

I tried using translation to adjust the position but the different texts readjust their location based on the text fed into them

Horizontal box with text in widget edit:

Horizontal box with text in game:

Hello @Brosephius ,
I recommend double-checking your anchors to make sure they’re set up correctly based on how you want the widget to scale across different resolutions.

Also, try using a Size Box or Scale Box, depending on what you need:

  • Size Box lets you set a fixed width or height for your text.
  • Scale Box automatically adjusts the content to keep proportions without breaking the layout.

Here’s a video that clearly explains how both work and when to use each one

Hope it helps!

Hello,

You can wrap the sections (horizontal boxes) in vertical box, this will help with keeping everything lined up to one another. You will need to play around with alignment to get the desired result.

Your “Level” and value “1” would live in one vertical box (with two horizontal boxes as children), then you copy past it two times for your HP & MP fields. Wrap everything in Horizontal box.
Same goes for what I assume is player name, only difference is you keep the top part without a text, or if it’s not lining up you can always put some text in there with same color as background.