Is there anything in Compose equivalent to setting...
# compose
g
Is there anything in Compose equivalent to setting
android: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.