Wrap the list view within a scrolled window

This commit is contained in:
Savanni D'Gerinel 2024-02-18 17:19:07 -05:00 committed by savanni
parent 86d7ca0b01
commit 843924afef
1 changed files with 8 additions and 1 deletions

View File

@ -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
}