grandstaish
11/25/2020, 1:52 PMloloof64
11/25/2020, 1:59 PMAndré Kindwall
11/25/2020, 2:17 PMModifier.preferredHeight
instead of lineHeight
?grandstaish
11/25/2020, 2:33 PMColumn {
val style = Theme.typography.body.copy(lineHeight = 48.sp)
Text("ABCD", Modifier.background(Color.Yellow), style = style)
Text("ABCD\nEFGH", Modifier.background(Color.Green), style = style)
}