fix: adjust height of container to fill available space
This commit is contained in:
parent
b945da4fed
commit
7653774f05
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ where
|
||||||
.into_container()
|
.into_container()
|
||||||
// XXX both must be shrink to avoid flex layout from ignoring it
|
// XXX both must be shrink to avoid flex layout from ignoring it
|
||||||
.width(iced::Length::Shrink)
|
.width(iced::Length::Shrink)
|
||||||
.height(iced::Length::Shrink);
|
.height(iced::Length::Fill);
|
||||||
|
|
||||||
if !self.core().is_condensed() {
|
if !self.core().is_condensed() {
|
||||||
nav = nav.max_width(280);
|
nav = nav.max_width(280);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue