feat: rebase libcosmic onto iced 0.14

This commit is contained in:
Ashley Wulber 2026-03-18 12:23:49 -04:00 committed by GitHub
parent 6c3d0b2770
commit 6326f65d84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1379 additions and 1344 deletions

View file

@ -9,9 +9,9 @@ use cosmic::{
iced_core::Border,
theme,
widget::{
self, divider, horizontal_space,
self, divider,
menu::{ItemHeight, ItemWidth, menu_button},
responsive_menu_bar, segmented_button,
responsive_menu_bar, segmented_button, space,
},
};
use std::{collections::HashMap, path::PathBuf, sync::LazyLock};
@ -132,7 +132,7 @@ pub fn context_menu<'a>(
}
menu_button(vec![
widget::text(menu_label).into(),
horizontal_space().into(),
space::horizontal().into(),
widget::text(key)
.class(theme::Text::Custom(key_style))
.into(),