From b05aa54027d380b9a81cc26022955ffd700ad248 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Wed, 4 Aug 2021 08:45:40 -0500 Subject: [PATCH] pyportal quarantine clock cp7 updates --- PyPortal_Quarantine_Clock/code.py | 4 ++-- PyPortal_Quarantine_Clock/month_clock.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PyPortal_Quarantine_Clock/code.py b/PyPortal_Quarantine_Clock/code.py index 1704f5281..55ef9dac1 100755 --- a/PyPortal_Quarantine_Clock/code.py +++ b/PyPortal_Quarantine_Clock/code.py @@ -74,13 +74,13 @@ font_small.load_glyphs(b'abcdefghjiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890- ()') # Set up label for the day -label_day = label.Label(font_large, color=LABEL_DAY_COLOR, max_glyphs=200) +label_day = label.Label(font_large, color=LABEL_DAY_COLOR) label_day.x = board.DISPLAY.width // 7 label_day.y = 80 pyportal.splash.append(label_day) # Set up label for the time -label_time = label.Label(font_small, color=LABEL_TIME_COLOR, max_glyphs=200) +label_time = label.Label(font_small, color=LABEL_TIME_COLOR) label_time.x = board.DISPLAY.width // 4 label_time.y = 150 pyportal.splash.append(label_time) diff --git a/PyPortal_Quarantine_Clock/month_clock.py b/PyPortal_Quarantine_Clock/month_clock.py index d92b5308e..94c5e9354 100644 --- a/PyPortal_Quarantine_Clock/month_clock.py +++ b/PyPortal_Quarantine_Clock/month_clock.py @@ -94,13 +94,13 @@ font_small.load_glyphs(b'abcdefghjiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890- ()') # Set up label for the month -label_month = label.Label(font_large, color=LABEL_DAY_COLOR, max_glyphs=200) +label_month = label.Label(font_large, color=LABEL_DAY_COLOR) label_month.x = board.DISPLAY.width // 10 label_month.y = 80 pyportal.splash.append(label_month) # Set up label for the time -label_time = label.Label(font_small, color=LABEL_TIME_COLOR, max_glyphs=200) +label_time = label.Label(font_small, color=LABEL_TIME_COLOR) label_time.x = board.DISPLAY.width // 3 label_time.y = 150 pyportal.splash.append(label_time)