|
28 | 28 | ) |
29 | 29 |
|
30 | 30 | # Make the display context |
31 | | -splash = displayio.Group(max_size=10) |
| 31 | +splash = displayio.Group() |
32 | 32 | display.show(splash) |
33 | 33 |
|
34 | 34 | color_bitmap = displayio.Bitmap(160, 80, 1) |
35 | 35 | color_palette = displayio.Palette(1) |
36 | 36 | # write some text in each font color, rgb, cmyk |
37 | 37 | color_palette[0] = 0x111111 # light grey |
38 | 38 |
|
39 | | -text_group_left = displayio.Group(max_size=10, scale=1, x=0, y=6) |
| 39 | +text_group_left = displayio.Group(scale=1, x=0, y=6) |
40 | 40 | text_area_red = label.Label(terminalio.FONT, text="RED", color=0xFF0000) |
41 | 41 | text_area_green = label.Label(terminalio.FONT, text="\nGREEN", color=0x00FF00) |
42 | 42 | text_area_blue = label.Label(terminalio.FONT, text="\n\nBLUE", color=0x0000FF) |
|
47 | 47 | text_group_left.append(text_area_white) |
48 | 48 | splash.append(text_group_left) |
49 | 49 |
|
50 | | -text_group_right = displayio.Group(max_size=10, scale=1, x=80, y=6) |
| 50 | +text_group_right = displayio.Group(scale=1, x=80, y=6) |
51 | 51 | text_area_cyan = label.Label(terminalio.FONT, text="CYAN", color=0x00FFFF) |
52 | 52 | text_group_right.append(text_area_cyan) |
53 | 53 | text_area_magenta = label.Label(terminalio.FONT, text="\nMAGENTA", color=0xFF00FF) |
|
0 commit comments