Function zng::widget::node::border_node

source ยท
pub fn border_node(
    child: impl UiNode,
    border_offsets: impl IntoVar<SideOffsets>,
    border_visual: impl UiNode,
) -> impl UiNode
Expand description

Creates a border node that delegates rendering to a border_visual and manages the border_offsets coordinating with the other borders of the widget.

This node disables inline layout for the widget.