From a406ec9bf06c5aff2396ec99ea81f74f25fd7b94 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Wed, 25 Oct 2023 11:56:28 -0400 Subject: [PATCH] fix(power): alignment in the lock & logout buttons --- cosmic-applet-power/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cosmic-applet-power/src/main.rs b/cosmic-applet-power/src/main.rs index 311e6c81..7d74987f 100644 --- a/cosmic-applet-power/src/main.rs +++ b/cosmic-applet-power/src/main.rs @@ -243,6 +243,7 @@ impl cosmic::Application for Power { Space::with_width(Length::Fill), text(fl!("lock-screen-shortcut")).size(14), ] + .align_items(Alignment::Center) .spacing(8) ) .on_press(Message::Action(PowerAction::Lock)), @@ -253,6 +254,7 @@ impl cosmic::Application for Power { Space::with_width(Length::Fill), text(fl!("log-out-shortcut")).size(14), ] + .align_items(Alignment::Center) .spacing(8) ) .on_press(Message::Action(PowerAction::LogOut)),