fix(input-sources): text size

This commit is contained in:
Ashley Wulber 2024-05-17 20:01:40 -04:00 committed by GitHub
parent 87250b5e50
commit 37a60b7759
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 50 additions and 49 deletions

View file

@ -382,10 +382,7 @@ impl cosmic::Application for Power {
}
}
fn power_buttons(
name: &str,
msg: String,
) -> cosmic::widget::Button<Message, cosmic::Theme, Renderer> {
fn power_buttons(name: &str, msg: String) -> cosmic::widget::Button<Message> {
cosmic::widget::button(
column![text_icon(name, 40), text(msg).size(14)]
.spacing(4)