From 86db387ab6c458aa39d99927363b4a6924d5131e Mon Sep 17 00:00:00 2001 From: mariinkys Date: Thu, 5 Mar 2026 09:07:16 +0100 Subject: [PATCH] fix: navbar fills the available height of the window --- src/app/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/mod.rs b/src/app/mod.rs index e137042e..b36ec4f6 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -385,9 +385,8 @@ where .on_context(|id| crate::Action::Cosmic(Action::NavBarContext(id))) .context_menu(self.nav_context_menu(self.core().nav_bar_context())) .into_container() - // XXX both must be shrink to avoid flex layout from ignoring it .width(iced::Length::Shrink) - .height(iced::Length::Shrink); + .height(iced::Length::Fill); if !self.core().is_condensed() { nav = nav.max_width(280);