zng_wgt_text

Function hyphens

source
pub fn hyphens(
    child: impl UiNode,
    hyphens: impl IntoVar<Hyphens>,
) -> impl UiNode
Expand description

P Configure hyphenation.

Note that for automatic hyphenation to work the lang must also be set and the HYPHENATION service must support it.

The auto hyphenation char can be defined using hyphen_char.