Hello everyone! I am struggling with auto-formatting the text style shown below. What I want is to have the underline expand with the text.

However, when I apply auto-layout and try to hack things a bit, the underline is either right below the text or the text is being covered by the underline (shown below).

Would any of you have an idea of how to get the desired result?