Skip to main content
Question

Line height measures only in %

  • November 8, 2024
  • 2 replies
  • 105 views

Natalie4

In my Figma file the line height for a text box is always in %, but it’d be better for me to control the numbers in px. Is there a way to toggle it?

I know I can enter the desired px number and it’ll adjust to the % equivalent, but when supporting devs in creating styles, it’s be better for me to provide a px number. Sometimes I also need to have the typography be comparable to a print companion piece, which never gives leading in %.

Anyone know if I’m stuck with creating line heights in %?

Thanks in advance

2 replies

tank666
  • 4859 replies
  • November 8, 2024

Natalie4
  • Author
  • 1 reply
  • November 8, 2024

I have tried that, and it adjusts based on that number, but it still will only display as the % for me. 😦 But thank you for sharing!

I have found a work-around for finding the equivalent of the % in px, by viewing the code in DevMode – it’s just a bit awkward.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings