From 5c645e8ac4ea6e62af7a7168081b058b963cb0e0 Mon Sep 17 00:00:00 2001 From: James Carr Date: Tue, 3 Aug 2021 10:15:46 +0100 Subject: [PATCH] Remove max_glyphs usage with Display_Text Label --- Baudot_TTY/baudot_tty_GUI.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Baudot_TTY/baudot_tty_GUI.py b/Baudot_TTY/baudot_tty_GUI.py index 3d3006393..7e12a36a0 100644 --- a/Baudot_TTY/baudot_tty_GUI.py +++ b/Baudot_TTY/baudot_tty_GUI.py @@ -41,7 +41,7 @@ # 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 @@ -49,7 +49,7 @@ # footer footer_label = label.Label( - terminalio.FONT, text="", scale=2, color=VFD_GREEN, max_glyphs=40 + terminalio.FONT, text="", scale=2, color=VFD_GREEN ) footer_label.x = 4 footer_label.y = 220 @@ -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