Figma Support Forum

Vertical alignment of certain fonts not working

I’m having some issues vertically aligning my chosen font with icons - as you can see from the screenshot, the text’s bounding box doesn’t put the text in the center. I read through the Figma article from 2019 explaining their new way of interpreting baselines and the vertical centers of text, so I feel I’m doing it right, but it’s still off, as you can see. Do you guys have any idea why, or is the font chosen just not set up correctly?

Hi, I’m facing the same problem of vertical alignment of some fonts having baseline spacing that it won’t align to center to the buttons. Each time I have to manually adjust the spacing… it’s frustrating and annoying. Please @Figma fix this problem or provide us with some solution.

1 Like

Workaround (not working with icons inside frame):
https://www.figma.com/proto/DEQ6tXHytHu4iqtuXmUzpg/button-centering-w-autolayout?
node-id=1%3A2&viewport=412%2C492%2C1&scaling=min-zoom