We, in fact, had this component in the beginning and removed it to substitute with other APIs for a good reason š
Can you share you usecase? I believe we may have APIs already that might help you achieve what you want but if no -- please, let me know what you want to do!
⢠If you want to center this Text component in whatever constraints it was put in, please, try then
Modifier.wrap(Alignment.Center)
so Text will relax constaints put in it and center itself in the parent layout, if possible.
⢠If you want to center it in a
Stack
or a
Column / Row
this components has scopes that provide modifiers to center within themselfes as well.
šš¼ 1
h
henrikhorbovyi
06/07/2020, 12:02 AM
Oh! I got it
henrikhorbovyi
06/07/2020, 12:03 AM
My case was the first you mensioned.
And I didn't know about