Add island bar layout and Settings controls
Group workspaces with Overview and status controls with the clock. Keep themed backgrounds and borders around each island, with click-through gaps and configurable side padding defaulting to 4 px. Capture blur within each panel region and update material and input regions when island bounds change. Cover layout reloads and padding changes with widget and native shell tests.
This commit is contained in:
1 parent
90e5c3543d
commit
004a5cdefe
12 files changed
+816
-45
No files matched your search
@@ -853,6 +853,26 @@ pub fn fields(page: Page) -> Vec<Field> {
|
||||
),
|
||||
],
|
||||
Page::Bar => vec![
|
||||
choice(
|
||||
"status.bar_layout",
|
||||
"Layout",
|
||||
"Use one continuous background or separate islands around the controls.",
|
||||
"continuous",
|
||||
&[("continuous", "Continuous"), ("islands", "Islands")],
|
||||
),
|
||||
range(
|
||||
"status.bar_island_padding",
|
||||
"Island side padding",
|
||||
"Space on each side between the island background and its bordered controls.",
|
||||
RangeSpec {
|
||||
default: f64::from(ferese_config::default_bar_island_padding()),
|
||||
min: 0.0,
|
||||
max: 32.0,
|
||||
step: 1.0,
|
||||
suffix: " px",
|
||||
integer: false,
|
||||
},
|
||||
),
|
||||
toggle(
|
||||
"status.window_title",
|
||||
"Focused window title",
|
||||
|
||||
Reference in new issue
Block a user