fix date alignment in calendar #9

Merged
dario merged 1 commit from strdst/buba:fix_calendar_alignment into main 2025-06-03 23:00:45 +02:00

View file

@ -41,7 +41,7 @@ class IcalEvents(BubaAnimation):
self.buba.text(page=0, row=i + 1, col_start=0, col_end=119, text="")
else:
event = events[i]
self.buba.text(page=0, row=i + 1, col_start=0, col_end=103, text=self.ellipsis(event.summary, 25))
self.buba.text(page=0, row=i + 1, col_start=104, col_end=119,
self.buba.text(page=0, row=i + 1, col_start=0, col_end=100, text=self.ellipsis(event.summary, 25))
self.buba.text(page=0, row=i + 1, col_start=101, col_end=119,
text=self.countdown(event.start), align=BubaCmd.ALIGN_RIGHT)
sleep(10)