From a6151154ca1461474ddb44ba523eda87268d632f Mon Sep 17 00:00:00 2001 From: BlitzCityDIY Date: Tue, 13 Sep 2022 14:19:44 -0400 Subject: [PATCH] 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. --- examples/pybadger_clue_custom_badge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pybadger_clue_custom_badge.py b/examples/pybadger_clue_custom_badge.py index 280555e..e322dcb 100644 --- a/examples/pybadger_clue_custom_badge.py +++ b/examples/pybadger_clue_custom_badge.py @@ -14,12 +14,12 @@ 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()