From 3a6dbc2e8495e2b440a95dde58570251f9b80c96 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Wed, 14 Feb 2024 19:51:35 -0500 Subject: [PATCH] fix: card label text size --- src/widget/cards.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/widget/cards.rs b/src/widget/cards.rs index f42a3c4..daeb3bc 100644 --- a/src/widget/cards.rs +++ b/src/widget/cards.rs @@ -106,7 +106,8 @@ where if let Some(source) = show_less_icon { show_less_children.push(icon(source).size(ICON_SIZE).into()); } - show_less_children.push(text(show_less_label).width(Length::Shrink).into()); + show_less_children + .push(text(show_less_label).size(14).width(Length::Shrink).into()); show_less_children.push( icon::from_name("pan-up-symbolic") .size(ICON_SIZE) @@ -129,7 +130,7 @@ where ) }, clear_all_button: Element::from( - button(text(clear_all_label)) + button(text(clear_all_label).size(14)) .style(cosmic::theme::Button::Text) .width(Length::Shrink) .on_press(on_clear_all)