Make content scrollable

This commit is contained in:
Eduardo Flores 2022-09-30 12:09:20 -07:00 • committed by Jeremy Soller
parent 7480635d1d
commit 1041af65d6

View file

@ -21,6 +21,7 @@ use cosmic::{
row,
slider,
text,
scrollable,
},
iced_lazy::responsive,
};
@ -119,7 +120,8 @@ impl Sandbox for Window {
},
);
let content: Element<_> = list_view!(
let content: Element<_> = scrollable(
list_view!(
list_section!(
"Debug",
choose_theme,
@ -205,6 +207,7 @@ impl Sandbox for Window {
checkbox("Checkbox", self.checkbox_value, Message::CheckboxToggled),
)
)
)
.into();
container(row![