# styleContentPadding

Common/All

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/styleContentPadding.modifier#(androidx.compose.ui.Modifier).styleContentPadding(androidx.compose.foundation.style.StyleResolver)(styleResolver: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/StyleResolver)` Transitionary modifier. | Cmn |

## Functions

### Modifier.styleContentPadding

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/StylePadding.kt+function:styleContentPadding) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Modifier.styleContentPadding(styleResolver: StyleResolver): Modifier
```

Transitionary modifier. Do not use. This will be removed before the Styles API is stable.

This modifier is to help enable transition between the old `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style` based API and the new `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/CustomStyle` based API. This duplicates the behavior of the `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.foundation.style.ContentPaddingScope).contentPadding(androidx.compose.ui.unit.Dp)` properties of `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/Style`.