Skip to content

Commit 1eddf68

Browse files
CircuitPython_Display_Text: Update for CP7
1 parent 526c7ed commit 1eddf68

10 files changed

+11
-11
lines changed

CircuitPython_Display_Text/background_color_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
display = board.DISPLAY
1414

1515
# Make the display context
16-
main_group = displayio.Group(max_size=10)
16+
main_group = displayio.Group()
1717
display.show(main_group)
1818

1919
reg_label = label.Label(

CircuitPython_Display_Text/background_tight_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
display = board.DISPLAY
1515

1616
# Make the display context
17-
main_group = displayio.Group(max_size=10)
17+
main_group = displayio.Group()
1818
display.show(main_group)
1919

2020
font = bitmap_font.load_font("fonts/Fayette-HandwrittenScript-48.bdf")

CircuitPython_Display_Text/base_alignment_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
display = board.DISPLAY
1515

1616
# Make the display context
17-
main_group = displayio.Group(max_size=10)
17+
main_group = displayio.Group()
1818
display.show(main_group)
1919

2020

CircuitPython_Display_Text/color_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
display = board.DISPLAY
1414

1515
# Make the display context
16-
main_group = displayio.Group(max_size=10)
16+
main_group = displayio.Group()
1717
display.show(main_group)
1818

1919
reg_label = label.Label(

CircuitPython_Display_Text/colormask_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def wheel(pos):
3434
bg_palette[0] = 0xDDDD00
3535

3636
# Make the display context
37-
main_group = displayio.Group(max_size=10)
37+
main_group = displayio.Group()
3838
display.show(main_group)
3939

4040
font = bitmap_font.load_font("fonts/LeagueSpartan-Bold-16.bdf")

CircuitPython_Display_Text/display_text_anchored_position.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
display = board.DISPLAY
1515

1616
# Make the display context
17-
main_group = displayio.Group(max_size=10)
17+
main_group = displayio.Group()
1818
display.show(main_group)
1919
DISPLAY_WIDTH = 320
2020
DISPLAY_HEIGHT = 240
@@ -64,7 +64,7 @@
6464
text_area_bottom_right.anchor_point = (1.0, 1.0)
6565
text_area_bottom_right.anchored_position = (DISPLAY_WIDTH - 8, DISPLAY_HEIGHT - 8)
6666

67-
text_group = displayio.Group(max_size=9)
67+
text_group = displayio.Group()
6868
text_group.append(text_area_top_middle)
6969
text_group.append(text_area_top_left)
7070
text_group.append(text_area_top_right)

CircuitPython_Display_Text/font_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
display = board.DISPLAY
1616

1717
# Make the display context
18-
main_group = displayio.Group(max_size=10)
18+
main_group = displayio.Group()
1919
display.show(main_group)
2020

2121
font = bitmap_font.load_font("fonts/LeagueSpartan-Bold-16.bdf")

CircuitPython_Display_Text/line_spacing_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
display = board.DISPLAY
1414

1515
# Make the display context
16-
main_group = displayio.Group(max_size=10)
16+
main_group = displayio.Group()
1717
display.show(main_group)
1818

1919
# font = bitmap_font.load_font("Fayette-HandwrittenScript-48.bdf")

CircuitPython_Display_Text/padding_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
display = board.DISPLAY
1414

1515
# Make the display context
16-
main_group = displayio.Group(max_size=10)
16+
main_group = displayio.Group()
1717
display.show(main_group)
1818

1919
# font = bitmap_font.load_font("Fayette-HandwrittenScript-48.bdf")

CircuitPython_Display_Text/scale_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
display = board.DISPLAY
1515

1616
# Make the display context
17-
main_group = displayio.Group(max_size=10)
17+
main_group = displayio.Group()
1818
display.show(main_group)
1919

2020
font = terminalio.FONT

0 commit comments

Comments
 (0)