Problem w/ dynamic textbox autosize

I’m having a problem with adjusting the size of a dynamic textbox to display text imported from an external XML file. I’ve tried using .autoSize = true, but it doesn’t work.

Any help would be appreciated.