Skip to content

Commit 65c9d71

Browse files
authored
Merge pull request #27 from lesamouraipourpre/max-size
Remove max_size parameter
2 parents 6ac5e6d + ee78e29 commit 65c9d71

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Usage Example
4444
display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240)
4545
4646
# Make the display context
47-
splash = displayio.Group(max_size=10)
47+
splash = displayio.Group()
4848
display.show(splash)
4949
5050
color_bitmap = displayio.Bitmap(320, 240, 1)

examples/ili9341_pitft_simpletest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240)
2626

2727
# Make the display context
28-
splash = displayio.Group(max_size=10)
28+
splash = displayio.Group()
2929
display.show(splash)
3030

3131
# Draw a green background
@@ -45,7 +45,7 @@
4545
splash.append(inner_sprite)
4646

4747
# Draw a label
48-
text_group = displayio.Group(max_size=10, scale=3, x=57, y=120)
48+
text_group = displayio.Group(scale=3, x=57, y=120)
4949
text = "Hello World!"
5050
text_area = label.Label(terminalio.FONT, text=text, color=0xFFFF00)
5151
text_group.append(text_area) # Subgroup for text scaling

examples/ili9341_shield_simpletest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240)
3131

3232
# Make the display context
33-
splash = displayio.Group(max_size=10)
33+
splash = displayio.Group()
3434
display.show(splash)
3535

3636
# Draw a green background
@@ -50,7 +50,7 @@
5050
splash.append(inner_sprite)
5151

5252
# Draw a label
53-
text_group = displayio.Group(max_size=10, scale=3, x=57, y=120)
53+
text_group = displayio.Group(scale=3, x=57, y=120)
5454
text = "Hello World!"
5555
text_area = label.Label(terminalio.FONT, text=text, color=0xFFFF00)
5656
text_group.append(text_area) # Subgroup for text scaling

examples/ili9341_simpletest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
display = adafruit_ili9341.ILI9341(display_bus, width=320, height=240)
2828

2929
# Make the display context
30-
splash = displayio.Group(max_size=10)
30+
splash = displayio.Group()
3131
display.show(splash)
3232

3333
# Draw a green background
@@ -47,7 +47,7 @@
4747
splash.append(inner_sprite)
4848

4949
# Draw a label
50-
text_group = displayio.Group(max_size=10, scale=3, x=57, y=120)
50+
text_group = displayio.Group(scale=3, x=57, y=120)
5151
text = "Hello World!"
5252
text_area = label.Label(terminalio.FONT, text=text, color=0xFFFF00)
5353
text_group.append(text_area) # Subgroup for text scaling

0 commit comments

Comments
 (0)