From 546811981e11e4e27710c99b12c7c7569b75ec31 Mon Sep 17 00:00:00 2001 From: Sachin Malik Date: Wed, 19 Mar 2025 23:53:19 +0530 Subject: [PATCH] fix(time): align calendar --- cosmic-applet-time/src/window.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cosmic-applet-time/src/window.rs b/cosmic-applet-time/src/window.rs index e452b71d..d3558c7e 100644 --- a/cosmic-applet-time/src/window.rs +++ b/cosmic-applet-time/src/window.rs @@ -619,7 +619,7 @@ impl cosmic::Application for Window { calender = calender.push( text(self.format(weekday_bag, &day_iter.next().unwrap())) .size(12) - .width(Length::Fixed(36.0)) + .width(Length::Fixed(44.0)) .align_x(Alignment::Center), ); @@ -680,8 +680,8 @@ fn date_button(day: u32, is_month: bool, is_day: bool, is_today: bool) -> Button let button = button::custom(text::body(format!("{day}")).center()) .class(style) - .height(Length::Fixed(36.0)) - .width(Length::Fixed(36.0)); + .height(Length::Fixed(44.0)) + .width(Length::Fixed(44.0)); if is_month { button.on_press(Message::SelectDay(day))