Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix resizing for bottom dock
Antonio Scandurra54e45306c59d
diff --git a/crates/workspace2/src/pane_group.rs b/crates/workspace2/src/pane_group.rsindex 06bd506e56e..800d03a50cb 100644--- a/crates/workspace2/src/pane_group.rs+++ b/crates/workspace2/src/pane_group.rs@@ -242,6 +242,7 @@ impl Member {div().relative()+ .flex_1().size_full().child(pane.clone()).when_some(leader_border, |this, color| {@@ -778,6 +779,9 @@ mod element {cx: &mut ui::prelude::WindowContext,) -> (gpui::LayoutId, Self::State) {let mut style = Style::default();+ style.flex_grow = 1.;+ style.flex_shrink = 1.;+ style.flex_basis = relative(0.).into();style.size.width = relative(1.).into();style.size.height = relative(1.).into();let layout_id = cx.request_layout(&style, None);