[work]: try buttons without size
Some checks failed
/ clippy (push) Failing after 6m7s
/ test (push) Failing after 6m37s

This commit is contained in:
Chris Cochrun 2026-05-01 06:48:43 -05:00
parent 5a0cad95a0
commit c4c869d4a3

View file

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