summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main_view.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main_view.rs b/src/main_view.rs
index c05032f..7dc7a54 100644
--- a/src/main_view.rs
+++ b/src/main_view.rs
@@ -147,7 +147,11 @@ impl MainView {
})
.with_name("query");
- siv.add_layer(Dialog::around(edit_view).title("Query"))
+ siv.add_layer({
+ ResizedView::new(cursive::view::SizeConstraint::AtLeast(80),
+ cursive::view::SizeConstraint::Free,
+ Dialog::around(edit_view).title("Query"))
+ })
}
}