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,
|
||||
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![
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue