Expand description
Basic nodes for widgets, some used in WidgetBase
.
Functionsยง
- Capture the
id
property and builds the base widget. - Insert
widget_child
andwidget_inner
in the widget. - Create a widget node that wraps
child
and introduces a new widget context. The node defines anWIDGET
context and implements the widget in each specific node method. - Returns a node that wraps
child
and potentially applies child transforms if thechild
turns out to not be a full widget or to be multiple children. This is important for making properties like padding or content_align work for anyUiNode
as content. - Returns a node that wraps
child
and marks theWidgetLayout::with_inner
andFrameBuilder::push_inner
.