address feedback

This commit is contained in:
Frederic Laing 2025-11-13 22:26:28 +01:00 committed by Ashley Wulber
parent 97d69f37e9
commit f806087fc8
2 changed files with 4 additions and 2 deletions

View file

@ -947,6 +947,7 @@ impl App {
.width(Length::Fill) .width(Length::Fill)
}; };
let menu = widget::container(widget::column::with_children(vec![ let menu = widget::container(widget::column::with_children(vec![
widget::Space::with_height(Length::FillPortion(1)).into(),
widget::layer_container( widget::layer_container(
iced::widget::row![left_element, right_element].align_y(Alignment::Start), iced::widget::row![left_element, right_element].align_y(Alignment::Start),
) )
@ -966,7 +967,7 @@ impl App {
.class(cosmic::theme::Container::Background) .class(cosmic::theme::Container::Background)
.width(Length::Fixed(800.0)) .width(Length::Fixed(800.0))
.into(), .into(),
widget::Space::with_height(Length::Fill).into(), widget::Space::with_height(Length::FillPortion(4)).into(),
])) ]))
.width(Length::Fill) .width(Length::Fill)
.height(Length::Fill) .height(Length::Fill)

View file

@ -584,6 +584,7 @@ impl App {
}; };
widget::container(widget::column::with_children(vec![ widget::container(widget::column::with_children(vec![
widget::Space::with_height(Length::FillPortion(1)).into(),
widget::layer_container( widget::layer_container(
iced::widget::row![left_element, right_element].align_y(Alignment::Start), iced::widget::row![left_element, right_element].align_y(Alignment::Start),
) )
@ -603,7 +604,7 @@ impl App {
.width(Length::Fill) .width(Length::Fill)
.height(Length::Shrink) .height(Length::Shrink)
.into(), .into(),
widget::Space::with_height(Length::Fill).into(), widget::Space::with_height(Length::FillPortion(4)).into(),
])) ]))
.width(Length::Fill) .width(Length::Fill)
.height(Length::Fill) .height(Length::Fill)