🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

ContentPaddingScope

An interface that introduces the contentPadding property to a Style receiver scope interface.

Source set: Common
public interface ContentPaddingScope

An interface that introduces the contentPadding property to a Style receiver scope interface.

Functions

contentPaddingStart

Source set: Common
public fun contentPaddingStart(value: Dp)

Sets the padding for the start edge of 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

value The amount of padding to apply to the start edge.

contentPaddingEnd

Source set: Common
public fun contentPaddingEnd(value: Dp)

Sets the padding for the end edge of 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

value The amount of padding to apply to the end edge.

contentPaddingTop

Source set: Common
public fun contentPaddingTop(value: Dp)

Sets the padding for the top edge of 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

value The amount of padding to apply to the top edge.

contentPaddingBottom

Source set: Common
public fun contentPaddingBottom(value: Dp)

Sets the padding for the bottom edge of 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

value The amount of padding to apply to the bottom edge.

Content updated: