system settings
git clone https://git.lucas.co/cce-system-interface.git
feat: uniform section spacing — grid gap pinned to page_margin
With relief wells filling their allocations, one knob (page_margin,
config style.surface.page.margin) now drives section-to-section and
section-to-plate-edge gaps alike.
Co-Authored-By: Claude Fable 5 <[email protected]>
src/main.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/main.rs b/src/main.rs
index 9eabae3..7206054 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -658,6 +658,11 @@ fn main() {
let rt = tokio::runtime::Runtime::new().expect("tokio runtime");
let _guard = rt.enter();
+ // One gap everywhere: the wells fill their grid allocations, so the grid
+ // gap is the visual section gap — pin it to the page margin so
+ // section-to-section and section-to-plate-edge spacing match.
+ cce_ui::layout::set_grid_gap(cce_ui::layout::page_margin());
+
let mut initial_page = Page::ALL[0];