Wrap the list view within a scrolled window
This commit is contained in:
parent
93667d04d6
commit
540e512f5f
|
@ -128,8 +128,15 @@ impl HistoricalView {
|
|||
}
|
||||
});
|
||||
|
||||
let scroller = gtk::ScrolledWindow::builder()
|
||||
.child(&s.imp().list_view)
|
||||
.hexpand(true)
|
||||
.vexpand(true)
|
||||
.hscrollbar_policy(gtk::PolicyType::Never)
|
||||
.build();
|
||||
|
||||
s.append(&date_range_picker);
|
||||
s.append(&s.imp().list_view);
|
||||
s.append(&scroller);
|
||||
|
||||
s
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue