diff --git a/adafruit_clue.py b/adafruit_clue.py index f3c5324..c44f0dd 100644 --- a/adafruit_clue.py +++ b/adafruit_clue.py @@ -110,7 +110,6 @@ def __init__( # pylint: disable=too-many-arguments title = label.Label( self._font, text=title, - max_glyphs=60, color=title_color, scale=title_scale, ) @@ -137,7 +136,7 @@ def __getitem__(self, item): def add_text_line(self, color=0xFFFFFF): """Adds a line on the display of the specified color and returns the label object.""" - text_label = self._label.Label(self._font, text="", max_glyphs=45, color=color) + text_label = self._label.Label(self._font, text="", color=color) text_label.x = 0 text_label.y = self._y self._y = text_label.y + 13 diff --git a/examples/advanced_examples/clue_ams_remote_advanced.py b/examples/advanced_examples/clue_ams_remote_advanced.py index ca7051b..a1a5b05 100644 --- a/examples/advanced_examples/clue_ams_remote_advanced.py +++ b/examples/advanced_examples/clue_ams_remote_advanced.py @@ -59,16 +59,16 @@ group = displayio.Group() -title = label.Label(font=arial16, x=15, y=25, text="_", color=0xFFFFFF, max_glyphs=30) +title = label.Label(font=arial16, x=15, y=25, text="_", color=0xFFFFFF) group.append(title) -artist = label.Label(font=arial16, x=15, y=50, text="_", color=0xFFFFFF, max_glyphs=30) +artist = label.Label(font=arial16, x=15, y=50, text="_", color=0xFFFFFF) group.append(artist) -album = label.Label(font=arial16, x=15, y=75, text="_", color=0xFFFFFF, max_glyphs=30) +album = label.Label(font=arial16, x=15, y=75, text="_", color=0xFFFFFF) group.append(album) -player = label.Label(font=arial16, x=15, y=100, text="_", color=0xFFFFFF, max_glyphs=30) +player = label.Label(font=arial16, x=15, y=100, text="_", color=0xFFFFFF) group.append(player) volume = Rect(15, 170, 210, 20, fill=0x0, outline=0xFFFFFF)