txt_wrap

Function txt_wrap 

Source
pub fn txt_wrap(child: impl IntoUiNode, enabled: impl IntoVar<bool>) -> UiNode
Expand description

P Enables or disables text wrap.

If enabled, line-breaks and hyphens are automatically inserted to flow the text to fill the available width. Wrap can be configured using the line_break, word_break and hyphens properties.

Sets the TEXT_WRAP_VAR.