Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

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:
    19
  3. julianV_aw

    julianV_aw

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