From 99d1812c17c57edf0734f9a0f11dfd175a17c573 Mon Sep 17 00:00:00 2001 From: James Carr Date: Thu, 29 Jul 2021 11:46:18 +0100 Subject: [PATCH] Remove max_size usage with displayio.Group --- MagTag_Tides/magtag_tides_land_lp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MagTag_Tides/magtag_tides_land_lp.py b/MagTag_Tides/magtag_tides_land_lp.py index 6b80f259e..a47768337 100755 --- a/MagTag_Tides/magtag_tides_land_lp.py +++ b/MagTag_Tides/magtag_tides_land_lp.py @@ -63,14 +63,14 @@ plot_y_neg.anchor_point = (1.0, 0.5) plot_y_neg.anchored_position = (178, 92) -plot_y_labels = displayio.Group(max_size=2) +plot_y_labels = displayio.Group() plot_y_labels.append(plot_y_pos) plot_y_labels.append(plot_y_neg) # ---------------------------- # Date label # ---------------------------- -date_label = displayio.Group(max_size=5) +date_label = displayio.Group() date_text = [label.Label(DATE_FONT, text="A", color=0xFFFFFF) for _ in range(5)] y_offset = 8 for text in date_text: @@ -82,7 +82,7 @@ # ---------------------------- # HiLo Times and Icons # ---------------------------- -tide_info = displayio.Group(max_size=8) +tide_info = displayio.Group() hilo_times = [label.Label(TIME_FONT, text="12:34 P", color=0x000000) for _ in range(4)] y_offset = 18