Render multibuffer
This commit is contained in:
1 parent
5a6e26628c
commit
dab0e2b6b4
1 file changed
+4
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user