zng_wgt_text::node

Function render_underlines

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

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

The lines are rendered before child, under it.

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