Skip to content

Commit edd46f8

Browse files
committed
Text size tweak
1 parent 288e877 commit edd46f8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

desktop/src/main/kotlin/com/jdamcd/arrivals/desktop/ArrivalsView.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,10 @@ fun LedText(string: String) {
151151
Text(
152152
text = string,
153153
color = LedYellow,
154+
maxLines = 1,
154155
style = TextStyle(
155156
fontFamily = LurFontFamily,
156-
fontSize = 56.sp
157+
fontSize = 58.sp
157158
)
158159
)
159160
}
@@ -172,9 +173,10 @@ fun FlashingLedText(string: String) {
172173
Text(
173174
text = string,
174175
color = LedYellow.copy(alpha = alpha),
176+
maxLines = 1,
175177
style = TextStyle(
176178
fontFamily = LurFontFamily,
177-
fontSize = 56.sp
179+
fontSize = 58.sp
178180
)
179181
)
180182
}

0 commit comments

Comments
 (0)