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
|
|
@ -16,7 +16,6 @@ use cosmic::{
|
|||
widget::{column, row},
|
||||
window, Alignment, Length, Limits, Subscription,
|
||||
},
|
||||
iced_core::alignment::Horizontal,
|
||||
iced_widget::{scrollable, Column},
|
||||
theme,
|
||||
widget::{button, container, divider, icon, text},
|
||||
|
|
@ -389,8 +388,7 @@ impl cosmic::Application for Notifications {
|
|||
]
|
||||
.align_x(Alignment::Center)
|
||||
)
|
||||
.width(Length::Fill)
|
||||
.align_x(Horizontal::Center)]
|
||||
.center_x(Length::Fill)]
|
||||
.padding([8, 0])
|
||||
.spacing(12)
|
||||
} else {
|
||||
|
|
@ -401,7 +399,7 @@ impl cosmic::Application for Notifications {
|
|||
.on_press(Message::ClearAll(None)),
|
||||
)
|
||||
.width(Length::Fill)
|
||||
.align_x(Horizontal::Right)
|
||||
.align_x(Alignment::End)
|
||||
.into(),
|
||||
);
|
||||
for c in self.cards.iter().rev() {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
// Copyright 2023 System76 <info@system76.com>
|
||||
// SPDX-License-Identifier: GPL-3.0-only
|
||||
|
||||
use std::ops::Sub;
|
||||
|
||||
use crate::subscriptions::freedesktop_proxy::NotificationsProxy;
|
||||
use cosmic::{
|
||||
iced::futures::{self, SinkExt},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue