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!