Automatically setting width of text element to width of text?


Is there a way of automatically making a text element take the same width as the text within it? I duplicate elements and then change the text within them, and then I have to reset the width so it is not too long or short each time.

Thank you!