Resize a text field to fit text just vertically?

.autoSize seems to expand itself vertically and horizontally. Is there a way to auto size it just vertically so the width remains the same and wordwrap is done?