From 354041eb8b0a1fea0595eab0ced3350da07f4bb7 Mon Sep 17 00:00:00 2001 From: James Carr Date: Thu, 22 Jul 2021 13:13:10 +0100 Subject: [PATCH] Remove usage of max_glyphs with Label --- examples/cursorcontrol_buttons_text.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/cursorcontrol_buttons_text.py b/examples/cursorcontrol_buttons_text.py index 2cf1be3..57520c0 100644 --- a/examples/cursorcontrol_buttons_text.py +++ b/examples/cursorcontrol_buttons_text.py @@ -102,14 +102,10 @@ ) splash.append(text_label) -text_speed = label.Label( - font, max_glyphs=15, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1] -) +text_speed = label.Label(font, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1]) splash.append(text_speed) -text_scale = label.Label( - font, max_glyphs=15, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1] + 20 -) +text_scale = label.Label(font, color=0x00FF00, x=LBL_TEXT[0], y=LBL_TEXT[1] + 20) splash.append(text_scale) # initialize the mouse cursor object