Add explicit orthogonal span sizing
This commit is contained in:
1 parent
29c7881c8a
commit
f437495309
7 files changed
+108
-8
No files matched your search
+2
-1
@@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user