A text field doesn't allow for wrapping. Consider using a text area instead. Line wrapping is a built-in option.