make lights scrollable
This commit is contained in:
parent
bc58596296
commit
ec1e1e979f
|
@ -165,9 +165,13 @@ impl Widget for Win {
|
||||||
label: Some("Lights"),
|
label: Some("Lights"),
|
||||||
hexpand: true,
|
hexpand: true,
|
||||||
|
|
||||||
#[name = "lights_list"]
|
gtk::ScrolledWindow {
|
||||||
gtk::ListBox {
|
hexpand: true,
|
||||||
selection_mode: SelectionMode::Multiple,
|
|
||||||
|
#[name = "lights_list"]
|
||||||
|
gtk::ListBox {
|
||||||
|
selection_mode: SelectionMode::Multiple,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue