Add axis-aware scroll constraints and per-mount limits
Verify Tessera GUI / verify (push) Failing after 7m38s

This commit is contained in:
2026-10-22 19:35:38 +08:00
parent 2b20976658
commit 1885693f7c
13 changed files with 277 additions and 14 deletions
+5 -1
View File
@@ -487,7 +487,11 @@ impl NativeCallable for Settle {
if height != plan.sizes[index].height {
available[3] = height;
}
let base = layout::child_constraints(&plan.nodes[index], available);
let base = layout::arranged_child_constraints(
&plan.nodes[index],
available,
Size { width, height },
);
for child in children {
let mut constraints = base;
if let Some(width) = plan.allocations[*child][0] {