Add explicit orthogonal span sizing

This commit is contained in:
iris-ai committed 2026-09-15 16:40:09 -04:00
1 parent 29c7881c8a
commit f437495309
7 files changed
+108 -8

No files matched your search

+2 -1
View File
@@ -190,9 +190,10 @@ fn describe(id: WidgetId, h: &Harness) -> String {
if let Some(w) = any.downcast_ref::<Span>() {
let sign = if w.dir.sign == Sign::Neg { "-" } else { "+" };
return format!(
"Span{{dir:{:?}{sign},gap:{},n:{}}}",
"Span{{dir:{:?}{sign},gap:{},ortho:{:?},n:{}}}",
w.dir.axis,
w.gap,
w.ortho,
w.children.len()
);
}