Search Unity

Question Changing Line Height of Label

Discussion in 'UI Toolkit' started by julianV_aw, Sep 2, 2022.

  1. julianV_aw

    julianV_aw

    Joined:
    Oct 16, 2019
    Posts:
    2
    So i'm using the Ui Toolkit for the first time and it's a rollercoaster :D
    I am using 2021.3.6f1 and struggling to find a way to change the text's line height in a label component.
    There are options for letter, word and paragraph spacing but not for line height.

    I don't care if it's via C# script or any other workaround, appreciate any help on this.
     
    Last edited: Sep 2, 2022
  2. ontrigger

    ontrigger

    Joined:
    Oct 31, 2016
    Posts:
    24
  3. julianV_aw

    julianV_aw

    Joined:
    Oct 16, 2019
    Posts:
    2
    Oh, i see. Yeah that works, Thanks!