Update vulnerable dependencies and migrate to Iced 0.14.

This commit is contained in:
2026-08-09 17:16:26 +02:00
parent c757314c91
commit 520e1d86ea
38 changed files with 1105 additions and 1237 deletions

View File

@@ -204,7 +204,7 @@ fn theme_accent_background(theme: &StyleTheme) -> Background {
}
fn swatch(background: Background, width_portion: u16) -> Element<'static, Message> {
container(Space::new(Length::Fill, Length::Fill))
container(Space::new().width(Length::Fill).height(Length::Fill))
.width(Length::FillPortion(width_portion))
.height(Length::Fixed(30.0))
.style(move |_: &Theme| container::Style {
@@ -270,7 +270,7 @@ pub fn view<'a>(
.map(|theme| theme_button(theme, &state.selected_theme))
.collect::<Vec<_>>();
while children.len() < 4 {
children.push(Space::with_width(Length::FillPortion(1)).into());
children.push(Space::new().width(Length::FillPortion(1)).into());
}
iced::widget::Row::with_children(children)
.spacing(8)