From 6acf9ad67f679e175712ca1712d02fc683294d87 Mon Sep 17 00:00:00 2001 From: Skye Date: Sat, 1 Jul 2023 14:56:39 -0400 Subject: [PATCH] Make cameras list in TUI scrollable on overflow --- server/src/cmds/config/cameras.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/cmds/config/cameras.rs b/server/src/cmds/config/cameras.rs index 00bb6f6..d80e40d 100644 --- a/server/src/cmds/config/cameras.rs +++ b/server/src/cmds/config/cameras.rs @@ -673,7 +673,8 @@ pub fn top_dialog(db: &Arc, siv: &mut Cursive) { .iter() .map(|(&id, camera)| (format!("{}: {}", id, camera.short_name), Some(id))), ) - .full_width(), + .full_width() + .scrollable(), ) .dismiss_button("Done") .title("Edit cameras"),