Is there any way to Align Composables based on Tex...
# compose
z
Is there any way to Align Composables based on Text’s baseline?
l
You can use
alignByBaseline
modiifer
z
Thanks for the link. But I don’t think it can be used for alignment. I have a row containing two
Text
and I want both of them to be aligned according to the baseline.
l
Yeah, then you should pack those texts in a row and set alignByBaseline modifier on both of them :)
z
Is that available? I can’t find that.
Ok, I found that. I was looking at
Alignment
. Why
Alignment
didn’t get this feature.