1

I am setting TextStyle to my Text composable, but when the text is multi-line, only then the line height works as expected.

But, in case the text is single line, line height is not applied to it.

When I checked the documentation of TextStyle, I got to know that the lineHeight is applied on the Paragraph.

enter image description here

Is there a way lineHeight can be applied to single line text as well? Or is there some other attribute which I am unaware of? Please guide.

Ali_Waris
  • 1,944
  • 2
  • 28
  • 46

0 Answers0