Reduce font size in wide mode (#81)

This commit is contained in:
timklge 2025-03-28 15:59:28 +01:00 committed by GitHub
parent a03c13c6a5
commit 90eb0a0821
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,7 @@ fun HeadwindDirection(
Text(
overlaySubText,
maxLines = 1,
style = TextStyle(color = ColorProvider(Color.Black, Color.White), fontSize = (0.35 * fontSize).sp, fontFamily = FontFamily.Monospace),
style = TextStyle(color = ColorProvider(Color.Black, Color.White), fontSize = (0.25 * fontSize).sp, fontFamily = FontFamily.Monospace),
modifier = GlanceModifier.padding(1.dp)
)
}
@ -117,7 +117,7 @@ fun HeadwindDirection(
overlayText,
maxLines = 1,
modifier = GlanceModifier.padding(5.dp),
style = TextStyle(color = ColorProvider(Color.Black, Color.White), fontSize = (0.75 * fontSize).sp, fontFamily = FontFamily.Monospace, fontWeight = FontWeight.Bold)
style = TextStyle(color = ColorProvider(Color.Black, Color.White), fontSize = (0.6 * fontSize).sp, fontFamily = FontFamily.Monospace, fontWeight = FontWeight.Bold)
)
}
}