SMultiLineEditableText::FArguments::AutoWrapText

Whether to wrap text automatically based on the widget's computed horizontal space.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Text/SMultiLineEditableText.h

Include

#include "Widgets/Text/SMultiLineEditableText.h"

Syntax

WidgetArgsType & AutoWrapText
(
    const TAttribute< bool > & InAttribute
)

Remarks

Whether to wrap text automatically based on the widget's computed horizontal space. IMPORTANT: Using automatic wrapping can result in visual artifacts, as the the wrapped size will computed be at least one frame late! Consider using WrapTextAt instead. The initial desired size will not be clamped. This works best in cases where the text block's size is not affecting other widget's layout.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss