Skip to content

Commit 3970513

Browse files
authored
Merge pull request #2790 from ViToni/bugfix/Fix_vertical_alignment_of_app_header
Move app name a few pixel down for better vertical alignment
2 parents eabee0b + 463a9b9 commit 3970513

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Macropad_Hotkeys/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ def switch(self):
7474
macropad.display.height - 1 -
7575
(3 - y) * 12),
7676
anchor_point=(x / 2, 1.0)))
77-
rect = Rect(0, 0, macropad.display.width, 12, fill=0xFFFFFF)
77+
rect = Rect(0, 0, macropad.display.width, 13, fill=0xFFFFFF)
7878
group.append(rect)
7979
group.append(label.Label(terminalio.FONT, text='', color=0x000000,
80-
anchored_position=(macropad.display.width//2, -2),
80+
anchored_position=(macropad.display.width//2, 0),
8181
anchor_point=(0.5, 0.0)))
8282
macropad.display.root_group = group
8383

0 commit comments

Comments
 (0)