zng_wgt_text::node

Function render_strikethroughs

source
pub fn render_strikethroughs(child: impl UiNode) -> impl UiNode
Expand description

An Ui node that renders the default strikethrough visual using the parent LaidoutText.

The lines are rendered after child, over it.

The Text! widgets introduces this node in new_child, around the render_overlines node.