make lights scrollable

This commit is contained in:
LordMZTE 2021-10-24 16:28:35 +02:00
parent bc58596296
commit ec1e1e979f
1 changed files with 7 additions and 3 deletions

View File

@ -165,9 +165,13 @@ impl Widget for Win {
label: Some("Lights"),
hexpand: true,
#[name = "lights_list"]
gtk::ListBox {
selection_mode: SelectionMode::Multiple,
gtk::ScrolledWindow {
hexpand: true,
#[name = "lights_list"]
gtk::ListBox {
selection_mode: SelectionMode::Multiple,
}
}
},