Use Flexible in file finder and theme switcher instead of Expanded

This commit is contained in:
Antonio Scandurra
2021-09-03 13:20:41 +02:00
parent 776f7dd5a9
commit 4c7eaaebb1
4 changed files with 9 additions and 8 deletions
+2
View File
@@ -150,6 +150,8 @@ where
for item in &mut items {
item.layout(item_constraint, cx);
}
} else {
size = constraint.min;
}
(
+3 -1
View File
@@ -210,7 +210,9 @@ impl StackingContext {
clip_bounds
.intersection(parent_clip_bounds.unwrap_or(clip_bounds))
.unwrap_or_else(|| {
log::warn!("specified clip bounds are disjoint from parent layer");
if !clip_bounds.is_empty() {
log::warn!("specified clip bounds are disjoint from parent layer");
}
RectF::default()
})
})