Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions Say_Their_Names_LEDMatrix/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
blm_font = [None, None, None]
for line in range(3):
label = adafruit_display_text.label.Label(
terminalio.FONT, color=0xFFFFFF, x=2, y=line * 10 - 2, max_glyphs=16
terminalio.FONT, color=0xFFFFFF, x=2, y=line * 10 + 5
)
blm_font[line] = label

Expand All @@ -147,14 +147,12 @@
label = adafruit_display_text.label.Label(
terminalio.FONT,
color=0xFFFFFF,
x=36,
y=line * 14, # these will center text when anchor is top-middle
max_glyphs=16,
anchored_position=(32, line * 14) # these will center text when anchor is top-middle
)
label.anchor_point = (0.5, 0)
names_font[line] = label

g = displayio.Group(max_size=10)
g = displayio.Group()
for line in blm_font:
g.append(line)
for line in names_font:
Expand Down