|
12 | 12 |
|
13 | 13 | text_area_top_left = label.Label(terminalio.FONT, text=TEXT)
|
14 | 14 | text_area_top_left.anchor_point = (0.0, 0.0)
|
15 |
| -text_area_top_left.anchored_position = (10, 10) |
| 15 | +text_area_top_left.anchored_position = (0, 0) |
16 | 16 |
|
17 | 17 | text_area_top_middle = label.Label(terminalio.FONT, text=TEXT)
|
18 | 18 | text_area_top_middle.anchor_point = (0.5, 0.0)
|
19 |
| -text_area_top_middle.anchored_position = (DISPLAY_WIDTH / 2, 10) |
| 19 | +text_area_top_middle.anchored_position = (DISPLAY_WIDTH / 2, 0) |
20 | 20 |
|
21 | 21 | text_area_top_right = label.Label(terminalio.FONT, text=TEXT)
|
22 | 22 | text_area_top_right.anchor_point = (1.0, 0.0)
|
23 |
| -text_area_top_right.anchored_position = (DISPLAY_WIDTH - 10, 10) |
| 23 | +text_area_top_right.anchored_position = (DISPLAY_WIDTH, 0) |
24 | 24 |
|
25 | 25 | text_area_middle_left = label.Label(terminalio.FONT, text=TEXT)
|
26 | 26 | text_area_middle_left.anchor_point = (0.0, 0.5)
|
27 |
| -text_area_middle_left.anchored_position = (10, DISPLAY_HEIGHT / 2) |
| 27 | +text_area_middle_left.anchored_position = (0, DISPLAY_HEIGHT / 2) |
28 | 28 |
|
29 | 29 | text_area_middle_middle = label.Label(terminalio.FONT, text=TEXT)
|
30 | 30 | text_area_middle_middle.anchor_point = (0.5, 0.5)
|
31 | 31 | text_area_middle_middle.anchored_position = (DISPLAY_WIDTH / 2, DISPLAY_HEIGHT / 2)
|
32 | 32 |
|
33 | 33 | text_area_middle_right = label.Label(terminalio.FONT, text=TEXT)
|
34 | 34 | text_area_middle_right.anchor_point = (1.0, 0.5)
|
35 |
| -text_area_middle_right.anchored_position = (DISPLAY_WIDTH - 10, DISPLAY_HEIGHT / 2) |
| 35 | +text_area_middle_right.anchored_position = (DISPLAY_WIDTH, DISPLAY_HEIGHT / 2) |
36 | 36 |
|
37 | 37 | text_area_bottom_left = label.Label(terminalio.FONT, text=TEXT)
|
38 | 38 | text_area_bottom_left.anchor_point = (0.0, 1.0)
|
39 |
| -text_area_bottom_left.anchored_position = (10, DISPLAY_HEIGHT) |
| 39 | +text_area_bottom_left.anchored_position = (0, DISPLAY_HEIGHT) |
40 | 40 |
|
41 | 41 | text_area_bottom_middle = label.Label(terminalio.FONT, text=TEXT)
|
42 | 42 | text_area_bottom_middle.anchor_point = (0.5, 1.0)
|
43 | 43 | text_area_bottom_middle.anchored_position = (DISPLAY_WIDTH / 2, DISPLAY_HEIGHT)
|
44 | 44 |
|
45 | 45 | text_area_bottom_right = label.Label(terminalio.FONT, text=TEXT)
|
46 | 46 | text_area_bottom_right.anchor_point = (1.0, 1.0)
|
47 |
| -text_area_bottom_right.anchored_position = (DISPLAY_WIDTH - 10, DISPLAY_HEIGHT) |
| 47 | +text_area_bottom_right.anchored_position = (DISPLAY_WIDTH, DISPLAY_HEIGHT) |
48 | 48 |
|
49 | 49 | text_group = displayio.Group(max_size=9)
|
50 | 50 | text_group.append(text_area_top_middle)
|
|
0 commit comments