Align native container children within allocated main-axis bounds
Verify Tessera GUI / verify (push) Failing after 7m55s

This commit is contained in:
2026-10-22 21:48:08 +08:00
parent 1885693f7c
commit 0c1cc12b6b
10 changed files with 129 additions and 7 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ impl NativeCallable for Method {
})
.collect::<Result<Vec<_>, _>>()?
};
let points = layout::arrange_native(&node, x, y, &children)
let points = layout::arrange_native(&node, x, y, Size { width, height }, &children)
.map_err(|_| invalid("native arrangement exceeds limits"))?;
let mut result = Vec::new();
for ((slot, size), (x, y)) in node.slots.iter().zip(children).zip(points) {