zng::widget

Function corner_radius

source
pub fn corner_radius(
    child: impl UiNode,
    radius: impl IntoVar<CornerRadius>,
) -> impl UiNode
Expand description

P Corner radius of widget and inner widgets.

The Default value is calculated to fit inside the parent widget corner curve, see corner_radius_fit for more details.