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: 
```
Text(
 "Hello World", 
 textAlign = TextAlign.Center,
 modifier = Modifier.width(150.dp)
)

```

You can use `TextAlign` attribute to center the texts.

Reference - <https://developer.android.com/jetpack/compose/text>
You can also use `textAlign` property of `Text` composable

```
Text(
    modifier = Modifier.fillMaxWidth(),
    text = item.title,
    textAlign = TextAlign.Center
)
Text(
    modifier = Modifier.fillMaxWidth(),
    text = item.description,
    textAlign = TextAlign.Center
)

```