page layout tool
git clone https://git.lucas.co/cce-layout-interface.git
Root plate: the toolkit's standard spec under the canvas and sidebar
The window painted no base at all: the first quad was the canvas at
x=280, leaving the sidebar on whatever the surface cleared to. Emit
`PaintCtx::root_plate(w, h)` (cce-ui `PlateSpec::window`) as the first
prim of the display list, before the canvas and sidebar. No other
layout or colour changes.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
src/main.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main.rs b/src/main.rs
index 8be9c03..bfd5d8e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3267,6 +3267,8 @@ impl Application for LayoutApp {
// _with_system_fonts) — kept only for widgets' prepare_text; text renders via the engine
// cache, fixing the face-ID invisibility.
let mut __pc = cce_ui::scene::paint::PaintCtx::new();
+ // The standard root plate (cce-ui PlateSpec::window).
+ __pc.root_plate(size.width as f32, size.height as f32);
let quads = &mut __LayoutQuadSink { pc: &mut __pc };
let size_changed = self.width != size.width as u32 || self.height != size.height as u32 || self.scale_factor != scale;
if self.needs_rebuild || size_changed {