Skip to main content
Solved

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!

Best answer by Gleb

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

View original
This topic has been closed for comments

4 replies

Gleb
  • Power Member
  • 4706 replies
  • Answer
  • March 19, 2021

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


Hey, very nice, thank you!


Dani14
  • 3 replies
  • April 9, 2024

I tried to follow that tutorial and it didn’t work 😦

I think auto layout has changed in the last 3 years


Gleb
  • Power Member
  • 4706 replies
  • April 15, 2024

It changed, but not in the way that would make this not work.


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