Make content scrollable
This commit is contained in:
parent
7480635d1d
commit
edddd058fe
1 changed files with 85 additions and 82 deletions
|
|
@ -21,6 +21,7 @@ use cosmic::{
|
||||||
row,
|
row,
|
||||||
slider,
|
slider,
|
||||||
text,
|
text,
|
||||||
|
scrollable,
|
||||||
},
|
},
|
||||||
iced_lazy::responsive,
|
iced_lazy::responsive,
|
||||||
};
|
};
|
||||||
|
|
@ -119,7 +120,8 @@ impl Sandbox for Window {
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
let content: Element<_> = list_view!(
|
let content: Element<_> = scrollable(
|
||||||
|
list_view!(
|
||||||
list_section!(
|
list_section!(
|
||||||
"Debug",
|
"Debug",
|
||||||
choose_theme,
|
choose_theme,
|
||||||
|
|
@ -205,6 +207,7 @@ impl Sandbox for Window {
|
||||||
checkbox("Checkbox", self.checkbox_value, Message::CheckboxToggled),
|
checkbox("Checkbox", self.checkbox_value, Message::CheckboxToggled),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
)
|
||||||
.into();
|
.into();
|
||||||
|
|
||||||
container(row![
|
container(row![
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue