Skip to main content
Question

Line height measures only in %

  • November 8, 2024
  • 2 replies
  • 201 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

This topic has been closed for replies.

2 replies

tank666
  • November 8, 2024

Natalie4
  • Author
  • 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.