Function zng_wgt_text::txt_wrap

source ยท
pub fn txt_wrap(child: impl UiNode, enabled: impl IntoVar<bool>) -> impl 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.