Skip to content

Commit a615115

Browse files
committed
Updating padding for CLUE badge example
I uploaded the example to a CLUE running CP8 and the text was not lining up as shown in the guide (https://learn.adafruit.com/clue-custom-circuit-python-badge/clue-badge). Adjusted the padding to match it and PR-ing since this code will be used for an upcoming PyLeap project.
1 parent e9331b7 commit a615115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pybadger_clue_custom_badge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
pybadger.badge_line(
1515
text="@circuitpython", color=pybadger.BLINKA_PURPLE, scale=2, padding_above=2
1616
)
17-
pybadger.badge_line(text="Blinka", color=pybadger.WHITE, scale=5, padding_above=3)
17+
pybadger.badge_line(text="Blinka", color=pybadger.WHITE, scale=5, padding_above=6)
1818
pybadger.badge_line(
1919
text="CircuitPythonista", color=pybadger.WHITE, scale=2, padding_above=2
2020
)
2121
pybadger.badge_line(
22-
text="she/her", color=pybadger.BLINKA_PINK, scale=4, padding_above=4
22+
text="she/her", color=pybadger.BLINKA_PINK, scale=4, padding_above=7
2323
)
2424

2525
pybadger.show_custom_badge()

0 commit comments

Comments
 (0)