fix: assign id_container to page_view scrollable
This commit is contained in:
parent
9c8d2a0c9f
commit
a4b9b45348
1 changed files with 6 additions and 2 deletions
|
|
@ -756,12 +756,16 @@ impl SettingsApp {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let view = self.page_container(settings::view_column(sections_column).padding(0));
|
let view = self
|
||||||
|
.page_container(settings::view_column(sections_column).padding(0))
|
||||||
|
.apply(scrollable)
|
||||||
|
.height(Length::Fill)
|
||||||
|
.apply(|w| id_container(w, self.id()));
|
||||||
|
|
||||||
widget::column::with_capacity(3)
|
widget::column::with_capacity(3)
|
||||||
.push(self.page_container(header))
|
.push(self.page_container(header))
|
||||||
.push(widget::vertical_space(24))
|
.push(widget::vertical_space(24))
|
||||||
.push(scrollable(view).height(Length::Fill))
|
.push(view)
|
||||||
.height(Length::Fill)
|
.height(Length::Fill)
|
||||||
.into()
|
.into()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue