Function zng_wgt::node::fill_node

source ยท
pub fn fill_node(content: impl UiNode) -> impl UiNode
Expand description

Transforms and clips the content node according with the default widget border align behavior.

Properties that fill the widget can wrap their fill content in this node to automatically implement the expected interaction with the widget borders, the content will be positioned, sized and clipped according to the widget borders, corner radius and border align.