Padding

It defines the spacing inside a component on each side (top, left, right, bottom).

Methods

MethodDescription
All(pad Length)All applies the same padding value to all four sides.
Horizontal(pad Length)Horizontal sets the padding for the horizontal axis (left and right).
Vertical(pad Length)Vertical sets the padding for the vertical axis (top and bottom).