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: 
[![Column view's alignings](https://i.stack.imgur.com/CqM5b.png)](https://i.stack.imgur.com/CqM5b.png)

You can find details in attachment by looking figures of all possibilities of aligning view inside column
You could use FlexColumn to bring content in the center as it supports CrossAxisAlignment.

```
FlexColumn(crossAxisAlignment = CrossAxisAlignment.Center) {
    inflexible {
        Text(text = item.title)
        Text(text = item.description)
    }
}

```

Warp it inside inflexible so that widgets will not occupy the full screen.

In the same way if you want to bring views to the center of the screen with FlexColumn than use mainAxisAlignment along with crossAxisAlignment

```
FlexColumn(mainAxisAlignment = MainAxisAlignment.Center,
        crossAxisAlignment = CrossAxisAlignment.Center) {
    inflexible {
        Text(text = item.title)
        Text(text = item.description)
    }
}

```