Function zng_wgt_text::txt_overflow
source ยท pub fn txt_overflow(
child: impl UiNode,
overflow: impl IntoVar<TextOverflow>,
) -> impl UiNode
Expand description
P
Defines if text overflow is truncated, with optional suffix append.
When enabled overflow is truncated by character or by the wrap rules if txt_wrap
is enabled (it is by default).
Overflow is always ignored when the text is editable.