resize_nodes

Function resize_nodes 

Source
pub fn resize_nodes(
    root: &mut LayoutNode,
    ops: &[ResizeOp],
) -> Result<(), LayoutError>
Expand description

Apply resize operations. Validates all sizes first (0.0–100.0 range); if any is invalid, returns an error WITHOUT applying any ops (atomically rejected — matches the frontend’s early-return semantic from PR #686).