Skip to content

Commit eea666f

Browse files
Remove max_glyphs usage with Display_Text Label
1 parent 57110f0 commit eea666f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

CircuitStonks/code.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,15 @@
3232

3333
# Set text, font, and color
3434
group = displayio.Group()
35-
symbol_text = label.Label(terminalio.FONT, text="WiFi", color=0xFFFFFF,
36-
scale=3, max_glyphs=10)
35+
symbol_text = label.Label(terminalio.FONT, text="WiFi", color=0xFFFFFF, scale=3)
3736
symbol_text.anchor_point = (0.0, 0.0)
3837
symbol_text.anchored_position = (0, 10)
3938

40-
price_text = label.Label(terminalio.FONT, text="Connect...", color=0xFFFF00,
41-
scale=3, max_glyphs=10)
39+
price_text = label.Label(terminalio.FONT, text="Connect...", color=0xFFFF00, scale=3)
4240
price_text.anchor_point = (0, 1)
4341
price_text.anchored_position = (0, 75)
4442

45-
change_text = label.Label(terminalio.FONT, text="", color=0xFFFF00,
46-
scale=2, max_glyphs=10)
43+
change_text = label.Label(terminalio.FONT, text="", color=0xFFFF00, scale=2)
4744
change_text.anchor_point = (0, 0)
4845
change_text.anchored_position = (80, 10)
4946

0 commit comments

Comments
 (0)