mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 05:33:49 +00:00
Render multibuffer
This commit is contained in:
parent
ed5c05b272
commit
e9c40963ab
1 changed files with 4 additions and 1 deletions
|
@ -324,7 +324,10 @@ impl EventEmitter<ViewEvent> for ProjectSearchView {}
|
|||
impl Render for ProjectSearchView {
|
||||
type Element = Div;
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {
|
||||
div().child(self.results_editor.clone())
|
||||
div()
|
||||
.flex_1()
|
||||
.size_full()
|
||||
.child(self.results_editor.clone())
|
||||
}
|
||||
}
|
||||
// impl Entity for ProjectSearchView {
|
||||
|
|
Loading…
Reference in a new issue