Reduce font size in wide mode (#81)
This commit is contained in:
parent
a03c13c6a5
commit
90eb0a0821
@ -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)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user