fix(power): alignment in the lock & logout buttons
This commit is contained in:
parent
a43df1df01
commit
a406ec9bf0
1 changed files with 2 additions and 0 deletions
|
|
@ -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)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue