Skip to content

CircuitPython_Display_Text: Update for CP7 #1612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/background_color_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)

reg_label = label.Label(
Expand Down
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/background_tight_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)

font = bitmap_font.load_font("fonts/Fayette-HandwrittenScript-48.bdf")
Expand Down
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/base_alignment_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)


Expand Down
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/color_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)

reg_label = label.Label(
Expand Down
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/colormask_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def wheel(pos):
bg_palette[0] = 0xDDDD00

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)

font = bitmap_font.load_font("fonts/LeagueSpartan-Bold-16.bdf")
Expand Down
4 changes: 2 additions & 2 deletions CircuitPython_Display_Text/display_text_anchored_position.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)
DISPLAY_WIDTH = 320
DISPLAY_HEIGHT = 240
Expand Down Expand Up @@ -64,7 +64,7 @@
text_area_bottom_right.anchor_point = (1.0, 1.0)
text_area_bottom_right.anchored_position = (DISPLAY_WIDTH - 8, DISPLAY_HEIGHT - 8)

text_group = displayio.Group(max_size=9)
text_group = displayio.Group()
text_group.append(text_area_top_middle)
text_group.append(text_area_top_left)
text_group.append(text_area_top_right)
Expand Down
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/font_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)

font = bitmap_font.load_font("fonts/LeagueSpartan-Bold-16.bdf")
Expand Down
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/line_spacing_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)

# font = bitmap_font.load_font("Fayette-HandwrittenScript-48.bdf")
Expand Down
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/padding_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)

# font = bitmap_font.load_font("Fayette-HandwrittenScript-48.bdf")
Expand Down
2 changes: 1 addition & 1 deletion CircuitPython_Display_Text/scale_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
display = board.DISPLAY

# Make the display context
main_group = displayio.Group(max_size=10)
main_group = displayio.Group()
display.show(main_group)

font = terminalio.FONT
Expand Down