Skip to main content

padding_default

Function padding_default 

Source
pub fn padding_default(view: &ViewHandle) -> ViewHandle
Expand description

Apply .padding() — every edge, at whatever length the system picks.

Not padding(_ length: CGFloat). A bare .padding() in Swift is padding(.all, nil), and the nil is the point: it asks for the system’s own inset rather than for zero.