Wrap the list view within a scrolled window
This commit is contained in:
parent
86d7ca0b01
commit
843924afef
|
@ -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