Skip to content

Commit 0f47c2c

Browse files
Remove max_glyphs usage with Display_Text Label
1 parent 5b17e04 commit 0f47c2c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Buckaroo_Plant_Care_Bot/buckaroo_plant_care_bot.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,12 @@
5656
# Append label to group
5757
text_group.append(title_label)
5858

59-
soil_label = label.Label(terminalio.FONT, text="Soil: ", color=0xFFAA88, max_glyphs=10)
59+
soil_label = label.Label(terminalio.FONT, text="Soil: ", color=0xFFAA88)
6060
soil_label.x = 4
6161
soil_label.y = 64
6262
text_group.append(soil_label)
6363

64-
motor_label = label.Label(
65-
terminalio.FONT, text="Motor off", color=0xFF0000, max_glyphs=9
66-
)
64+
motor_label = label.Label(terminalio.FONT, text="Motor off", color=0xFF0000)
6765
motor_label.x = 4
6866
motor_label.y = 74
6967
text_group.append(motor_label)

0 commit comments

Comments
 (0)