From 7037d44226a98512a1c68d91f23b7a84d4738ec2 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Wed, 14 Jun 2023 17:56:35 +0200 Subject: [PATCH] stack: Bigger icons --- src/shell/element/stack.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/shell/element/stack.rs b/src/shell/element/stack.rs index fca06ab0..d1692cf0 100644 --- a/src/shell/element/stack.rs +++ b/src/shell/element/stack.rs @@ -657,14 +657,14 @@ impl Program for CosmicStackInternal { ); tab_elements.push( - cosmic_widget::icon(app_id, 12) + cosmic_widget::icon(app_id, 16) .apply(iced_widget::container) .height(Length::Fill) .center_y() .into(), ); - let text_width = tab_width - if tab_width > 125 { 72 } else { 40 }; + let text_width = tab_width - if tab_width > 125 { 76 } else { 44 }; if text_width > 0 { tab_elements.push( cosmic_widget::text(title) @@ -690,6 +690,7 @@ impl Program for CosmicStackInternal { .style(theme::Svg::Symbolic) .apply(iced_widget::button) .style(theme::Button::Text) + .padding(0) .on_press(Message::Close(i)) .apply(iced_widget::container) .height(Length::Fill)