Function zng_wgt_text::node::layout_text
source ยท pub fn layout_text(child: impl UiNode) -> impl UiNode
Expand description
An UI node that layouts the parent ResolvedText
defined by the text context vars.
This node setups the LaidoutText
for all inner nodes, the Text!
widget includes this
node in the NestGroup::CHILD_LAYOUT + 100
nest group, so all properties in NestGroup::CHILD_LAYOUT
can affect the layout normally and custom properties can be created to be inside this group and have access
to the TEXT::laidout
method.