Change text width dynamically

Hello Axure Team,

and thank you for your dedication to this very complex yet very usable product!

I have read in this forum entry that it is unfortunately not possible to control the width of the text field dynamically.

One notice from mbc66 is:

Do note that if you change the text dynamically, the widget will not resize to fit the new text-it only works at page load. A while back I worked out several methods to try to work around this limitation in this thread…

Since the topic was already closed, I can unfortunately only ask my question by opening a new topic.

My question is:
Is there a workaround how I could implement it otherwise?
Or where can I set in the CSS that the width value should be cleared? So the element is then in the size of the content + padding

Kind regards

denis