Eridonis Posted June 27, 2020 Share 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. Link to comment Share on other sites More sharing options...
1 Push Posted June 28, 2020 Share 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 Eridonis and Ainz Ooal Gown 2 Link to comment Share on other sites More sharing options...
3 Ainz Ooal Gown Posted June 28, 2020 Share 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 Beefy Kasplant, Eridonis, Push and 1 other 3 1 Link to comment Share on other sites More sharing options...
0 Push Posted June 27, 2020 Share Posted June 27, 2020 It could be "TextAlign": Right, Center You can try changing it to "Center, Center' and seeing if that fixes it. Link to comment Share on other sites More sharing options...
0 Eridonis Posted June 27, 2020 Author Share Posted June 27, 2020 I just added that in, to see if it did anything. But sadly it didn't do anything lol. Link to comment Share on other sites More sharing options...
0 Push Posted June 28, 2020 Share 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 Link to comment Share on other sites More sharing options...
0 Ainz Ooal Gown Posted June 28, 2020 Share Posted June 28, 2020 No problem, glad u sorted it Eridonis 1 Link to comment Share on other sites More sharing options...
0 Eridonis Posted June 29, 2020 Author Share Posted June 29, 2020 You guys are awesome thanks @Ainz Ooal GownAnd @CosakiGames/ @wishy Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts