Dynamic Text Box - Width dependent on text

Hey’a if I have a dynamic textbox named ‘myText’ and have this kind of code…

myText.text = "I want to stretch the text box dependent on the text";

At the moment all I can see is ‘I’ - I want the textbox to stretch based on how much text is in it, and not to go to a new line - So the one line just keeps gettin bigger.

Whats the code please :D?