From a46c5e821999b0165509f9523b1d578c87212bab Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 21 Dec 2023 10:29:50 -0700 Subject: [PATCH] Remove padding --- src/main.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6256ad8..fe95935 100644 --- a/src/main.rs +++ b/src/main.rs @@ -236,13 +236,9 @@ impl cosmic::Application for App { /// Creates a view after each update. fn view(&self) -> Element { - let cosmic_theme::Spacing { - space_none, - space_xxs, - .. - } = self.core().system_theme().cosmic().spacing; + let cosmic_theme::Spacing { space_xxs, .. } = self.core().system_theme().cosmic().spacing; - let mut tab_column = widget::column::with_capacity(1).padding([space_none, space_xxs]); + let mut tab_column = widget::column::with_capacity(1); if self.tab_model.iter().count() > 1 { tab_column = tab_column.push(