Skip to main content

padding_x

Function padding_x 

Source
pub fn padding_x(size: Size, variant: Variant) -> f32
Available on crate feature button only.
Expand description

Horizontal padding inside a button. A link has none, so its text lines up with the content around it, such as a card’s body above its footer.