layout: add panel trait

This commit is contained in:
2026-11-15 12:50:57 +07:00
parent d2ac4c446d
commit f6ba9c0d47
4 changed files with 233 additions and 134 deletions
+4 -2
View File
@@ -225,9 +225,11 @@ Gaps surfaced by the signed comparison; ordered by signed's usage.
trailing buttons, `Theme::titlebar_height`
- [x] Shell — the titlebar over the panel row in the window frame, hosting
the toast and alert overlays
- [x] Panel — island layout on the muted app background: the main island
- [x] Panel row — island layout on the muted app background: the main island
fills the window and can split once into two half-width islands with
a drag divider between them (double-click restores the half split)
a drag divider between them (double-click restores the half split);
apps define panels by implementing the `Panel` trait on their views
and hand entities or `PanelView` handles to `PanelRow`
- [x] Resizable group — stacked panes with drag dividers, per-pane floors,
double-click reset, keyboard steps