To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
That being said, if the text changes dynamically or there are some special cases like long link texts, it might not necessarily be easy to make the text flow nicely with labels and buttons. On a normal HTML page this wouldn't be an issue, since the browser handles the text flow inside a (say) paragraph. I haven't seen an add-on that does what you describe, but it sounds it wouldn't be too hard to implement - depending on the exact requirements of course.