Currently there is no way to tell text to auto-wrap in a Text Block from C++.
Obviously this is quite limiting, especially if you’re creating text blocks dynamically in a user widget (which we’re doing for our credits list). Can we please have an accessor for this which sets the value to true or false. Right now we have to create a custom text block and add just that accessor.
This also applies to any other runtime flags on UMG widgets that are protected and have no accessor functions.
protected:
/** True if we're wrapping text automatically based on the computed horizontal space for this widget. */
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category=Wrapping)
bool AutoWrapText;