fix(app-list): use context menu radius from theme
This commit is contained in:
parent
5b5cd77e7c
commit
6b740c59be
14 changed files with 79 additions and 137 deletions
|
|
@ -19,7 +19,7 @@ use futures::{
|
|||
};
|
||||
use image::EncodableLayout;
|
||||
use once_cell::sync::Lazy;
|
||||
use std::{fmt::Debug, sync::Arc};
|
||||
use std::fmt::Debug;
|
||||
use tokio::sync::Mutex;
|
||||
|
||||
use crate::wayland_handler::wayland_handler;
|
||||
|
|
|
|||
|
|
@ -63,10 +63,7 @@ where
|
|||
.height(Length::Shrink)
|
||||
.width(Length::Shrink),
|
||||
)
|
||||
.align_x(cosmic::iced_core::alignment::Horizontal::Center)
|
||||
.align_y(cosmic::iced_core::alignment::Vertical::Center)
|
||||
.height(Length::Fixed(size + padding as f32 * 2.0))
|
||||
.width(Length::Fixed(size + padding as f32 * 2.0))
|
||||
.center(Length::Fixed(size + padding as f32 * 2.0))
|
||||
.padding(padding),
|
||||
)
|
||||
.on_press(on_press)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue