feat(settings): refine density, group detailed options and add edge maximize gestures
This commit is contained in:
1 parent
d7e122711a
commit
9908dde9f8
11 files changed
+588
-195
No files matched your search
@@ -506,7 +506,7 @@ impl App {
|
||||
}
|
||||
fn hub_layout(&self, columns: usize) -> Element<'_, Message> {
|
||||
let palette = visuals::Palette::from_resolved(&self.resolved.presented);
|
||||
let mut out = column([]).spacing(24);
|
||||
let mut out = column([]).spacing(20);
|
||||
for (name, pages) in Page::NAVIGATION {
|
||||
if name == "Advanced" {
|
||||
continue;
|
||||
@@ -527,12 +527,12 @@ impl App {
|
||||
} else {
|
||||
name
|
||||
}),
|
||||
12.,
|
||||
visuals::SECTION_TITLE_SIZE,
|
||||
)
|
||||
.class(cosmic::theme::Text::Color(palette.muted)),
|
||||
);
|
||||
for pair in pages.chunks(columns) {
|
||||
let mut cards = row([]).spacing(12);
|
||||
let mut cards = row([]).spacing(16);
|
||||
for &page in pair {
|
||||
cards = cards.push(self.hub_card(page));
|
||||
}
|
||||
@@ -555,7 +555,7 @@ impl App {
|
||||
column([])
|
||||
.spacing(4)
|
||||
.push(self.label(p.title(), 14.).font(cosmic::iced::Font {
|
||||
weight: cosmic::iced::font::Weight::Medium,
|
||||
weight: cosmic::iced::font::Weight::Normal,
|
||||
..self.font
|
||||
}))
|
||||
.push(
|
||||
@@ -928,9 +928,9 @@ impl App {
|
||||
container(out).width(Length::Fill).padding([5, 2]).into()
|
||||
}
|
||||
pub fn tray_status_controls(&self) -> Element<'_, Message> {
|
||||
let mut out = column([]).spacing(8).push(self.note(t(
|
||||
"Status icons can also be hidden individually in Panel & Shell.",
|
||||
)));
|
||||
let mut out = column([])
|
||||
.spacing(12)
|
||||
.push(self.panel_heading(t("Panel status icons"), 14.));
|
||||
let panels: Vec<ferese_panel::Panel> = self
|
||||
.draft
|
||||
.item("panels")
|
||||
|
||||
Reference in new issue
Block a user