Wrap the list view within a scrolled window

This commit is contained in:
Savanni D'Gerinel 2024-02-18 17:19:07 -05:00
parent 93667d04d6
commit 540e512f5f
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
}