chore: update fixes
This commit is contained in:
parent
0ab6f724fb
commit
f00fd8bc1a
6 changed files with 37 additions and 18 deletions
|
|
@ -355,11 +355,15 @@ impl cosmic::Application for Power {
|
|||
}
|
||||
}
|
||||
|
||||
fn power_buttons(name: &str, msg: String) -> cosmic::widget::Button<Message, Renderer> {
|
||||
fn power_buttons(
|
||||
name: &str,
|
||||
msg: String,
|
||||
) -> cosmic::widget::Button<Message, cosmic::Theme, Renderer> {
|
||||
cosmic::widget::button(
|
||||
column![text_icon(name, 40), text(msg).size(14)]
|
||||
.spacing(4)
|
||||
.align_items(Alignment::Center),
|
||||
.align_items(Alignment::Center)
|
||||
.width(Length::Fill),
|
||||
)
|
||||
.width(Length::Fill)
|
||||
.height(Length::Fixed(76.0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue