From c4c869d4a366b2fbf7d7da7618824dc9d018d077 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 1 May 2026 06:48:43 -0500 Subject: [PATCH] [work]: try buttons without size --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 6dc2c4c..484a387 100755 --- a/src/main.rs +++ b/src/main.rs @@ -1844,7 +1844,6 @@ impl cosmic::Application for App { .leading_icon( icon::from_path("./res/layout-grid.svg".into()).symbolic(true), ) - .height(space_xl) .class(if self.view_mode == ViewMode::Grid { theme::Button::Standard } else { @@ -1853,7 +1852,6 @@ impl cosmic::Application for App { let list_button = button::standard("Preview") .leading_icon(icon::from_path("./res/carousel.svg".into()).symbolic(true)) .on_press(Message::ViewModeSwitch(ViewMode::Row)) - .height(space_xl) .class(if self.view_mode == ViewMode::Row { theme::Button::Standard } else {