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)),