Textbox autosize?

is it possible to define a width and then autosize the height?