how can i align the text vertically ?
# compose
m
how can i align the text vertically ?
a
Text
itself doesn't handle vertical alignment. Here's the doc of `TextAlign`:
Defines how to align text horizontally. TextAlign controls how text aligns in the space it appears.
m
hm. makes sense. gonna need a box wrapper perhaps
a
You can also use
Modifier.wrapContentSize(Alignment.Center)
.