mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Remove unnecessary ConstrainedBoxes in collab panel
Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
123bc85a8e
commit
f9dffc1734
@ -2518,27 +2518,16 @@ impl View for CollabPanel {
|
||||
.with_child(
|
||||
Flex::column()
|
||||
.with_child(
|
||||
Flex::row()
|
||||
.with_child(
|
||||
ChildView::new(&self.filter_editor, cx)
|
||||
.contained()
|
||||
.with_style(theme.user_query_editor.container)
|
||||
.flex(1.0, true),
|
||||
)
|
||||
.constrained()
|
||||
.with_width(self.size(cx)),
|
||||
)
|
||||
.with_child(
|
||||
List::new(self.list_state.clone())
|
||||
.constrained()
|
||||
.with_width(self.size(cx))
|
||||
.flex(1., true)
|
||||
.into_any(),
|
||||
Flex::row().with_child(
|
||||
ChildView::new(&self.filter_editor, cx)
|
||||
.contained()
|
||||
.with_style(theme.user_query_editor.container)
|
||||
.flex(1.0, true),
|
||||
),
|
||||
)
|
||||
.with_child(List::new(self.list_state.clone()).flex(1., true).into_any())
|
||||
.contained()
|
||||
.with_style(theme.container)
|
||||
.constrained()
|
||||
.with_width(self.size(cx))
|
||||
.into_any(),
|
||||
)
|
||||
.with_children(
|
||||
|
Loading…
Reference in New Issue
Block a user