Update inkycal_agenda.py
This commit is contained in:
parent
6f2d9028d1
commit
c893fafaf1
@ -152,7 +152,7 @@ class Agenda(inkycal_module):
|
|||||||
|
|
||||||
time_width = int(max([self.font.getlength(
|
time_width = int(max([self.font.getlength(
|
||||||
events['begin'].format(self.time_format, locale=self.language))
|
events['begin'].format(self.time_format, locale=self.language))
|
||||||
for events in upcoming_events]))
|
for events in upcoming_events]) + 10)
|
||||||
logger.debug(f'time_width: {time_width}')
|
logger.debug(f'time_width: {time_width}')
|
||||||
|
|
||||||
# Calculate x-pos for time
|
# Calculate x-pos for time
|
||||||
|
Loading…
Reference in New Issue
Block a user