From 0f47c2caf524bfc99d39d3db80ce677f78ea48d8 Mon Sep 17 00:00:00 2001 From: James Carr Date: Tue, 3 Aug 2021 17:06:23 +0100 Subject: [PATCH] Remove max_glyphs usage with Display_Text Label --- Buckaroo_Plant_Care_Bot/buckaroo_plant_care_bot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Buckaroo_Plant_Care_Bot/buckaroo_plant_care_bot.py b/Buckaroo_Plant_Care_Bot/buckaroo_plant_care_bot.py index dc3447a11..27ba4562e 100644 --- a/Buckaroo_Plant_Care_Bot/buckaroo_plant_care_bot.py +++ b/Buckaroo_Plant_Care_Bot/buckaroo_plant_care_bot.py @@ -56,14 +56,12 @@ # Append label to group text_group.append(title_label) -soil_label = label.Label(terminalio.FONT, text="Soil: ", color=0xFFAA88, max_glyphs=10) +soil_label = label.Label(terminalio.FONT, text="Soil: ", color=0xFFAA88) soil_label.x = 4 soil_label.y = 64 text_group.append(soil_label) -motor_label = label.Label( - terminalio.FONT, text="Motor off", color=0xFF0000, max_glyphs=9 -) +motor_label = label.Label(terminalio.FONT, text="Motor off", color=0xFF0000) motor_label.x = 4 motor_label.y = 74 text_group.append(motor_label)