Eridonis Posted June 27, 2020 Posted June 27, 2020 When it shows level 1 the number is pushed to the left. But when it hits a double digit the number is fine. What do I need to change to keep the alignment of the 1 and 11 centered. Heres what I have.
1 Push Posted June 28, 2020 Posted June 28, 2020 39 minutes ago, Ainz Ooal Gown said:  Hey, you need to change:  "AutoSizeToContents": true,  to  "AutoSizeToContents": false,  This means it will not autosize to box (which starts from the left) and will make in central. When you do this make sure the box has enough room:  "Bounds": "4,59,20,20",  20x20 seems decent size.  I take no credit as it was @wishy that told me Wow, cant believe I missed that. Thank you, worked like a charm Ainz Ooal Gown and Eridonis 2
3 Ainz Ooal Gown Posted June 28, 2020 Posted June 28, 2020 4 minutes ago, CosakiGames said: Ive tried to set this up too and have the same problem as you. Maybe @Ainz Ooal Gown can chime in, he seems to have done it successfully  Hey, you need to change:  "AutoSizeToContents": true,  to  "AutoSizeToContents": false,  This means it will not autosize to box (which starts from the left) and will make in central. When you do this make sure the box has enough room:  "Bounds": "4,59,20,20",  20x20 seems decent size.  I take no credit as it was @wishy that told me wishy, Push, Beefy Kasplant and 1 other 3 1
0 Push Posted June 27, 2020 Posted June 27, 2020 It could be "TextAlign": Right, Center You can try changing it to "Center, Center' and seeing if that fixes it.
0 Eridonis Posted June 27, 2020 Author Posted June 27, 2020 I just added that in, to see if it did anything. But sadly it didn't do anything lol.
0 Push Posted June 28, 2020 Posted June 28, 2020 Ive tried to set this up too and have the same problem as you. Maybe @Ainz Ooal Gown can chime in, he seems to have done it successfully
0 Eridonis Posted June 29, 2020 Author Posted June 29, 2020 You guys are awesome thanks @Ainz Ooal GownAnd @CosakiGames/ @wishy
Question
Eridonis
When it shows level 1 the number is pushed to the left. But when it hits a double digit the number is fine.
What do I need to change to keep the alignment of the 1 and 11 centered. Heres what I have.
7 answers to this question
Recommended Posts