pub fn word_break(
child: impl UiNode,
mode: impl IntoVar<WordBreak>,
) -> impl UiNode
Expand description
P
Configure line breaks inside words during text wrap.
This value is only considered if it is impossible to fit a full word to a line.
Hyphens can be inserted in word breaks using the hyphens
configuration.
Sets the WORD_BREAK_VAR
.