Jump to content
  • 0
Sign in to follow this  
Eridonis

I cannot seem to center align the level.

Question

5400a2468365d958e49e93310f764e0e.png
When it shows level 1 the number is pushed to the left. But when it hits a double digit the number is fine.
17beb3a4fc69defd790f1a3ee923d26d.png
What do I need to change to keep the alignment of the 1 and 11 centered. Heres what I have.

b831fc42392a3bd70e0866c62414fb0f.png

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 1
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
9ab11d3eb947c11fba7ea3be0a98ff2d.png

Share this post


Link to post
Share on other sites
  • 3
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 :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...