diff --git a/README.rst b/README.rst index 6c6f714..b54a7de 100644 --- a/README.rst +++ b/README.rst @@ -44,7 +44,7 @@ Usage Example display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240) # Make the display context - splash = displayio.Group(max_size=10) + splash = displayio.Group() display.show(splash) color_bitmap = displayio.Bitmap(320, 240, 1) diff --git a/examples/ili9341_pitft_simpletest.py b/examples/ili9341_pitft_simpletest.py index 17dddb4..eaf4f35 100644 --- a/examples/ili9341_pitft_simpletest.py +++ b/examples/ili9341_pitft_simpletest.py @@ -25,7 +25,7 @@ display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240) # Make the display context -splash = displayio.Group(max_size=10) +splash = displayio.Group() display.show(splash) # Draw a green background @@ -45,7 +45,7 @@ splash.append(inner_sprite) # Draw a label -text_group = displayio.Group(max_size=10, scale=3, x=57, y=120) +text_group = displayio.Group(scale=3, x=57, y=120) text = "Hello World!" text_area = label.Label(terminalio.FONT, text=text, color=0xFFFF00) text_group.append(text_area) # Subgroup for text scaling diff --git a/examples/ili9341_shield_simpletest.py b/examples/ili9341_shield_simpletest.py index c82f30e..278c8cd 100644 --- a/examples/ili9341_shield_simpletest.py +++ b/examples/ili9341_shield_simpletest.py @@ -30,7 +30,7 @@ display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240) # Make the display context -splash = displayio.Group(max_size=10) +splash = displayio.Group() display.show(splash) # Draw a green background @@ -50,7 +50,7 @@ splash.append(inner_sprite) # Draw a label -text_group = displayio.Group(max_size=10, scale=3, x=57, y=120) +text_group = displayio.Group(scale=3, x=57, y=120) text = "Hello World!" text_area = label.Label(terminalio.FONT, text=text, color=0xFFFF00) text_group.append(text_area) # Subgroup for text scaling diff --git a/examples/ili9341_simpletest.py b/examples/ili9341_simpletest.py index 494414a..877e332 100644 --- a/examples/ili9341_simpletest.py +++ b/examples/ili9341_simpletest.py @@ -27,7 +27,7 @@ display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240) # Make the display context -splash = displayio.Group(max_size=10) +splash = displayio.Group() display.show(splash) # Draw a green background @@ -47,7 +47,7 @@ splash.append(inner_sprite) # Draw a label -text_group = displayio.Group(max_size=10, scale=3, x=57, y=120) +text_group = displayio.Group(scale=3, x=57, y=120) text = "Hello World!" text_area = label.Label(terminalio.FONT, text=text, color=0xFFFF00) text_group.append(text_area) # Subgroup for text scaling