chore(panel-button): add text button horizontal padding

This commit is contained in:
Vukašin Vojinović 2024-06-28 01:06:49 +02:00 committed by Michael Murphy
parent e7093313d5
commit df6232090e

View file

@ -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)