As far as I know it will not auto expand. Instead, a tooltip should show you the complete text.

I mean you could resize the dialog or control depending on how much text there is.