Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

TextMesh Pro Text wrapping with negative numbers.

Discussion in 'UGUI & TextMesh Pro' started by waxx, Jan 22, 2019.

  1. waxx

    waxx

    Joined:
    Apr 1, 2013
    Posts:
    48
    I'm having issues with the TextMeshProUGUI component and its text wrapping method. For some reason the "-" that comes with negative numbers stays in the previous line while the number is pushed to the next one. Notice the yellow text in the screenshot:



    Is there anything that can be done here?
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    1,096
    Stephan_B likes this.
  3. waxx

    waxx

    Joined:
    Apr 1, 2013
    Posts:
    48
    Thanks, that did the trick.