feat: rebase libcosmic onto iced 0.14
This commit is contained in:
parent
6c3d0b2770
commit
6326f65d84
5 changed files with 1379 additions and 1344 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue