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
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.
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.