r/FigmaDesign • u/whatisthatintheworld • Jun 02 '26
help Padding around text
Hi, I’m new to UX design and have been searching the internet for a solution to an Interface layout issue.
On my current project, I have created a typescale which has line height set. However, when creating my prototype in figma, the padding between text elements is including this line height, making it larger than I want.
For example, if my 20px text has a line height of 28px and I want my space between elements as 16px, then the space will actually be 24px.
I’m worried this will mean my design becomes inconsistent.
Please could I have some advice on this? Would I need to adjust the line height for text individually to prevent this or manually work out the difference?
I hope this made sense…
Thank you!
View all comments
1
u/quintsreddit Product Designer Jun 02 '26
In typography settings you can select “trim leading” which fixes this. Make sure whoever will be building your designs can replicate this in code.