Figma Support Forum

Autolayout Text with underline

Hi,

I would like to apply the autolayout function to the text you see beneath in the image. The text has a underline which should grow with the entered text accordingly.
I know how this works with a button but not with just an underline. I already tried to use a rectangle and apply a shadow so it seems like a line but I had no luck.

Any Idea I could solve this? Thanks!

Check out my Auto Layout Tips & Hacks file, there are a couple examples of that: https://figma.fun/nlzApu

1 Like

Hey, very nice, thank you!