mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-26 22:23:16 -05:00
Make retention screen scroll on overflow
This commit is contained in:
parent
05562dae5b
commit
930decc766
@ -4,6 +4,7 @@
|
||||
|
||||
use base::strutil::{decode_size, encode_size};
|
||||
use cursive::traits::{Nameable, Resizable};
|
||||
use cursive::view::Scrollable;
|
||||
use cursive::views;
|
||||
use cursive::Cursive;
|
||||
use db::writer;
|
||||
@ -423,7 +424,7 @@ fn edit_dir_dialog(db: &Arc<db::Database>, siv: &mut Cursive, dir_id: i32) {
|
||||
siv.add_layer(
|
||||
views::Dialog::around(
|
||||
views::LinearLayout::vertical()
|
||||
.child(list)
|
||||
.child(list.scrollable())
|
||||
.child(views::DummyView)
|
||||
.child(buttons),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user