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 line-height doesnt work after 2017?

Discussion in 'UGUI & TextMesh Pro' started by Nikolay1243, Sep 3, 2019.

  1. Nikolay1243

    Nikolay1243

    Joined:
    Jul 2, 2013
    Posts:
    9
    Hi, I noticed that line-height isnt working in 2018.4 LTS and even in 2019 but it used to work in 2017.2.1p3. Is this known/fixable?
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Can you provide more information on this?

    How is it not working anymore?

    Can you provide the steps to reproduce it?
     
  3. Nikolay1243

    Nikolay1243

    Joined:
    Jul 2, 2013
    Posts:
    9
    it was because I was doing = 0 instead of = 0.001
     
  4. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    The use of <line-height=0> has been fixed in the next release. Ie. You will be able to use 0 instead of the goofy 0.001 value :)
     
    Nikolay1243 likes this.