padding

Sets uniform padding on all sides of the UIElement

Return

this

Parameters

all

The padding value to set on all sides


fun padding(left: Float = 0.0f, top: Float = 0.0f, right: Float = 0.0f, bottom: Float = 0.0f): Modifier

Sets individual padding values for each side of the UIElement

Return

this

Parameters

left

The padding value for the left side

top

The padding value for the top side

right

The padding value for the right side

bottom

The padding value for the bottom side