0

I have a Text on my screen which have a size of 180sp. But it automatically has padding at the top and bottom. How to remove that padding?

BasicText(
            text = temperature,
            color = ColorProducer { Black },
            style = MaterialTheme.typography.titleLarge
        )
  • I have asked the same question few times ago. You can check my solution or read usable comments under question: https://stackoverflow.com/questions/75712788/how-to-draw-text-without-paddings – Viacheslav Smityukh Jun 16 '23 at 16:21

0 Answers0