chore: update libcosmic
This commit is contained in:
parent
bb30ba29d7
commit
6906964142
9 changed files with 345 additions and 331 deletions
|
|
@ -5,6 +5,7 @@ use cosmic::{
|
|||
widget::{self, horizontal_space},
|
||||
window, Length,
|
||||
},
|
||||
iced_core::Border,
|
||||
iced_style, theme,
|
||||
widget::{button, container, icon, radio, settings},
|
||||
};
|
||||
|
|
@ -98,9 +99,11 @@ fn popover_menu() -> cosmic::Element<'static, Message> {
|
|||
icon_color: Some(theme.cosmic().background.on.into()),
|
||||
text_color: Some(theme.cosmic().background.on.into()),
|
||||
background: Some(iced::Color::from(theme.cosmic().background.base).into()),
|
||||
border_radius: cosmic.corner_radii.radius_m.into(),
|
||||
border_width: 0.0,
|
||||
border_color: iced::Color::TRANSPARENT,
|
||||
border: Border {
|
||||
radius: cosmic.corner_radii.radius_m.into(),
|
||||
..Default::default()
|
||||
},
|
||||
shadow: Default::default(),
|
||||
}
|
||||
}))
|
||||
.into()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue