fix: keyboard list background
This commit is contained in:
parent
87f8e4bd4b
commit
958d9ba164
1 changed files with 6 additions and 1 deletions
|
|
@ -67,7 +67,12 @@ impl SpecialKey {
|
||||||
fn popover_menu_row(label: String) -> cosmic::Element<'static, Message> {
|
fn popover_menu_row(label: String) -> cosmic::Element<'static, Message> {
|
||||||
widget::text(label)
|
widget::text(label)
|
||||||
.apply(widget::container)
|
.apply(widget::container)
|
||||||
.style(cosmic::theme::Container::List)
|
.style(cosmic::theme::Container::custom(|theme| {
|
||||||
|
iced_style::container::Appearance {
|
||||||
|
background: None,
|
||||||
|
..container::StyleSheet::appearance(theme, &cosmic::theme::Container::List)
|
||||||
|
}
|
||||||
|
}))
|
||||||
.apply(button)
|
.apply(button)
|
||||||
.style(theme::Button::Transparent)
|
.style(theme::Button::Transparent)
|
||||||
.into()
|
.into()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue