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
Showing only changes of commit cf44c61759 - Show all commits

fix date alignment in calendar
All checks were successful
docker-image / docker (push) Successful in 9m36s

strdst 2025-06-03 22:57:26 +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="") self.buba.text(page=0, row=i + 1, col_start=0, col_end=119, text="")
else: else:
event = events[i] 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=0, col_end=100, 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=101, col_end=119,
text=self.countdown(event.start), align=BubaCmd.ALIGN_RIGHT) text=self.countdown(event.start), align=BubaCmd.ALIGN_RIGHT)
sleep(10) sleep(10)