From df6232090e641f9108d5fcc42a3b517c4a80254c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Vojinovi=C4=87?= <150025636+git-f0x@users.noreply.github.com> Date: Fri, 28 Jun 2024 01:06:49 +0200 Subject: [PATCH] chore(panel-button): add text button horizontal padding --- cosmic-panel-button/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmic-panel-button/src/main.rs b/cosmic-panel-button/src/main.rs index 7395f95c..597ddc56 100644 --- a/cosmic-panel-button/src/main.rs +++ b/cosmic-panel-button/src/main.rs @@ -119,7 +119,7 @@ impl cosmic::Application for Button { ) .align_items(iced::Alignment::Center); cosmic::widget::button(content) - .padding([0, self.core.applet.suggested_padding(false)]) + .padding([0, self.core.applet.suggested_padding(true)]) .style(cosmic::theme::Button::AppletIcon) } .on_press_down(Msg::Press)