Skip to main content
Question

How to make font size and auto height match for accurate element spacing?

  • June 10, 2024
  • 1 reply
  • 165 views

I’m creating a design with the 8 point grid system, but the font size doesn’t match the font height. If I set the font size to 56, the auto height is fixed to 40px.

How can I resolve this? I’ve noticed this isn’t the case with XD, but why?

Thanks!

This topic has been closed for replies.

1 reply

djv
Figmate
  • Community Support
  • 4886 replies
  • June 11, 2024

Hey @Obi_Obi, thanks for reaching out and sorry for the trouble and confusion!

This is currently expected behavior. Unless you manually choose to set line height to match, Figma uses a font’s intrinsic line height as the default value (Auto). Because of this, the ‘default’ font line height may differ, depending on the font you’ve chosen.

More info here:

Figma Learn - Help Center

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