File tree Expand file tree Collapse file tree
PyPortal_Quarantine_Clock Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474font_small .load_glyphs (b'abcdefghjiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890- ()' )
7575
7676# Set up label for the day
77- label_day = label .Label (font_large , color = LABEL_DAY_COLOR , max_glyphs = 200 )
77+ label_day = label .Label (font_large , color = LABEL_DAY_COLOR )
7878label_day .x = board .DISPLAY .width // 7
7979label_day .y = 80
8080pyportal .splash .append (label_day )
8181
8282# Set up label for the time
83- label_time = label .Label (font_small , color = LABEL_TIME_COLOR , max_glyphs = 200 )
83+ label_time = label .Label (font_small , color = LABEL_TIME_COLOR )
8484label_time .x = board .DISPLAY .width // 4
8585label_time .y = 150
8686pyportal .splash .append (label_time )
Original file line number Diff line number Diff line change 9494font_small .load_glyphs (b'abcdefghjiklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890- ()' )
9595
9696# Set up label for the month
97- label_month = label .Label (font_large , color = LABEL_DAY_COLOR , max_glyphs = 200 )
97+ label_month = label .Label (font_large , color = LABEL_DAY_COLOR )
9898label_month .x = board .DISPLAY .width // 10
9999label_month .y = 80
100100pyportal .splash .append (label_month )
101101
102102# Set up label for the time
103- label_time = label .Label (font_small , color = LABEL_TIME_COLOR , max_glyphs = 200 )
103+ label_time = label .Label (font_small , color = LABEL_TIME_COLOR )
104104label_time .x = board .DISPLAY .width // 3
105105label_time .y = 150
106106pyportal .splash .append (label_time )
You can’t perform that action at this time.
0 commit comments