Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions PyPortal_Google_Calendar/authenticator.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@
font_small.load_glyphs(glyphs)
font_large.load_glyphs(glyphs)

group_verification = displayio.Group(max_size=25)
group_verification = displayio.Group()
label_overview_text = Label(
font_large, x=0, y=45, text="To authorize this device with Google:"
)
group_verification.append(label_overview_text)

label_verification_url = Label(font_small, x=0, y=100, line_spacing=1, max_glyphs=90)
label_verification_url = Label(font_small, x=0, y=100, line_spacing=1)
group_verification.append(label_verification_url)

label_user_code = Label(font_small, x=0, y=150, max_glyphs=50)
label_user_code = Label(font_small, x=0, y=150)
group_verification.append(label_user_code)

label_qr_code = Label(font_small, x=0, y=190, text="Or scan the QR code:")
Expand Down
2 changes: 1 addition & 1 deletion PyPortal_Google_Calendar/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def display_calendar_events(resp_events):
pyportal.splash.append(line_header)

font_h1 = bitmap_font.load_font("fonts/Arial-18.pcf")
label_header = label.Label(font_h1, x=10, y=30, color=0x000000, max_glyphs=30)
label_header = label.Label(font_h1, x=10, y=30, color=0x000000)
pyportal.splash.append(label_header)

# Set up calendar event fonts
Expand Down
Empty file modified PyPortal_Google_Calendar/fonts/Arial-18.pcf
100755 → 100644
Empty file.