Function zng::widget::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.