get rid of the panel wrapper for more space
the screen title is now displayed by the layout
This commit is contained in:
@@ -13,7 +13,7 @@ use track::Track;
|
||||
use ui::trackbutton::TrackButton;
|
||||
|
||||
pub struct SearchView {
|
||||
pub view: Panel<LinearLayout>,
|
||||
pub view: LinearLayout,
|
||||
}
|
||||
|
||||
impl SearchView {
|
||||
@@ -75,7 +75,7 @@ impl SearchView {
|
||||
let layout = LinearLayout::new(Orientation::Vertical)
|
||||
.child(searchfield)
|
||||
.child(scrollable);
|
||||
let rootpanel = Panel::new(layout).title("Search");
|
||||
return SearchView { view: rootpanel };
|
||||
|
||||
return SearchView { view: layout };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user