Use Flexible in file finder and theme switcher instead of Expanded
This commit is contained in:
@@ -150,6 +150,8 @@ where
|
||||
for item in &mut items {
|
||||
item.layout(item_constraint, cx);
|
||||
}
|
||||
} else {
|
||||
size = constraint.min;
|
||||
}
|
||||
|
||||
(
|
||||
|
||||
+3
-1
@@ -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()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user