Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Bug Unity UI Toolkit - Text align Centre and middle does not place the text at the Centre of the box

Discussion in '2023.2 Beta' started by FoodFish_, Aug 14, 2023.

  1. FoodFish_

    FoodFish_

    Joined:
    May 3, 2018
    Posts:
    58
    I have found that text align Centre and middle does not place the text at the Centre of the box if the box is too small to contain the text. I expect that if centre middle is chosen it will do its best to place the text in the centre even if the box is too small. One workaround is to place the text in a parent container and centre that at 50% but this is annoying.

    upload_2023-8-14_12-34-33.png
     
  2. ConcernedDev

    ConcernedDev

    Joined:
    Aug 12, 2023
    Posts:
    7
    Best bet would be to not use any packages developed by Unity internally.
     
  3. FoodFish_

    FoodFish_

    Joined:
    May 3, 2018
    Posts:
    58
    :( come on bro that's a little harsh