fix(navbar): fill height of panel instead of shrinking
This commit is contained in:
parent
ad65416551
commit
1810bedfa5
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue