fix(app-list): use context menu radius from theme

This commit is contained in:
Vukašin Vojinović 2024-11-01 14:33:25 +01:00 committed by Ashley Wulber
parent 5b5cd77e7c
commit 6b740c59be
14 changed files with 79 additions and 137 deletions

View file

@ -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;

View file

@ -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)