request full width for search results

This commit is contained in:
Henrik Friedrichsen
2019-02-26 22:01:59 +01:00
parent b06b6bc15b
commit ce566b0fb9

View File

@@ -64,7 +64,7 @@ impl SearchView {
.with_id("search_edit")
.full_width()
.fixed_height(1);
let results = ListView::new().with_id("search_results");
let results = ListView::new().with_id("search_results").full_width();
let scrollable = ScrollView::new(results).full_width().full_height();
let layout = LinearLayout::new(Orientation::Vertical)
.child(searchfield)