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 Baudot_TTY/baudot_tty_GUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@

# title
title_label = label.Label(
terminalio.FONT, text="TTY CLUE", scale=4, color=VFD_GREEN, max_glyphs=11
terminalio.FONT, text="TTY CLUE", scale=4, color=VFD_GREEN
)
title_label.x = 20
title_label.y = 16
screen.append(title_label)

# footer
footer_label = label.Label(
terminalio.FONT, text="<PICK SEND>", scale=2, color=VFD_GREEN, max_glyphs=40
terminalio.FONT, text="<PICK SEND>", scale=2, color=VFD_GREEN
)
footer_label.x = 4
footer_label.y = 220
Expand All @@ -69,9 +69,7 @@

for message_config in messages_config:
(name, textline, color, x, y) = message_config # unpack tuple into five var names
message_label = label.Label(
terminalio.FONT, text=textline, color=color, max_glyphs=50
)
message_label = label.Label(terminalio.FONT, text=textline, color=color)
message_label.x = x
message_label.y = y
messages_labels[name] = message_label
Expand Down