gian
02/17/2022, 11:17 AMandroid:lineSpacingMultiplier
on a TextView
?
I tried using lineHeight
passing an em
multiplier (e.g.: Text("Some text", lineHeight = 1.2.em)
), but it’s not equivalent.
As far as I understand, when using lineSpacingMultiplier
the calculation is based on the distance between ascent and descent, while using `em`s in Compose will base the calculation on the text size.