How to underline text in a button?

Your idea with the underline could work, if you use some code.

$w(‘#your Element’).show()
$w(‘#your Element’).hide()

you could set the line to HIDDEN and when you need to show the underline (line-element), you just fire up an event which would SHOW the (line-element).
And when you not need the line anymore, you simply hide it with the opposite-code.