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.
This commit is contained in:
parent
e9331b7847
commit
a6151154ca
1 changed files with 2 additions and 2 deletions
|
|
@ -14,12 +14,12 @@ pybadger.badge_background(
|
|||
pybadger.badge_line(
|
||||
text="@circuitpython", color=pybadger.BLINKA_PURPLE, scale=2, padding_above=2
|
||||
)
|
||||
pybadger.badge_line(text="Blinka", color=pybadger.WHITE, scale=5, padding_above=3)
|
||||
pybadger.badge_line(text="Blinka", color=pybadger.WHITE, scale=5, padding_above=6)
|
||||
pybadger.badge_line(
|
||||
text="CircuitPythonista", color=pybadger.WHITE, scale=2, padding_above=2
|
||||
)
|
||||
pybadger.badge_line(
|
||||
text="she/her", color=pybadger.BLINKA_PINK, scale=4, padding_above=4
|
||||
text="she/her", color=pybadger.BLINKA_PINK, scale=4, padding_above=7
|
||||
)
|
||||
|
||||
pybadger.show_custom_badge()
|
||||
|
|
|
|||
Loading…
Reference in a new issue