dimsuz
07/09/2021, 10:50 AM15dp
, but lineHeight is 24dp
. And that's used across all screens (UiKit).
How would you encode this universally with Compose? TextStyle.lineHeight
works only on paragraphs, and setting Modifier.height(24.dp)
on Text
doesn't center it vertically inside. So far the only solution that works is having a Box
around the text, but that feels like rather verbose solution... or not?
UPD. screen shot in the threaddimsuz
07/09/2021, 10:51 AMAlbert Chang
07/09/2021, 10:54 AMColton Idle
07/09/2021, 4:04 PM