Question: I'm creating a layout with Jetpack Compose and there is a column. I would like center items inside this column:

```
 Column(modifier = ExpandedWidth) {
        Text(text = item.title)
        Text(text = item.description)
 }

```

Answer: 
You can use

```kotlin
Text(
  text = item.title,
  textAlign = TextAlign.Center,
  modifier = Modifier.align(alignment = Alignment.CenterHorizontally)
)

```

* textAlign is for aligning text inside the box.
* Modifier.align() is for aligning text box inside column
You can use **`Arrangement.Center`**

* Place child components as close to the center of the main axis

SAMPLE CODE

```
@Composable
fun Column(

    arrangement: Arrangement = Arrangement.Center,

)

```