From cf44c61759f352d42909a02634587d5433645740 Mon Sep 17 00:00:00 2001 From: strdst Date: Tue, 3 Jun 2025 22:57:26 +0200 Subject: [PATCH] fix date alignment in calendar --- buba/animations/icalevents.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buba/animations/icalevents.py b/buba/animations/icalevents.py index e605b38..e29b241 100644 --- a/buba/animations/icalevents.py +++ b/buba/animations/icalevents.py @@ -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) -- 2.50.1