Function

contentPadding

Sets the padding for the component's content.

contentPadding

Source set: Common
@ExperimentalFoundationStyleApi
fun StyleScope.contentPadding(paddingValues: PaddingValues)

Sets the padding for the component's content. Content padding is the space between the component's border (if any) and its content. The width/height of the component includes content padding.

This property is not inherited

Parameters

paddingValues The PaddingValues to apply to the content.

Last updated: