FSlateEditableTextLayout::SetAutoWrapText

Set whether to wrap text automatically based on the widget's computed horizontal space