scrollable: provide ID to operation.container
This commit is contained in:
parent
8c5996c12b
commit
6a683b603d
1 changed files with 11 additions and 8 deletions
|
|
@ -208,14 +208,17 @@ where
|
||||||
|
|
||||||
operation.scrollable(state, self.id.as_ref().map(|id| &id.0));
|
operation.scrollable(state, self.id.as_ref().map(|id| &id.0));
|
||||||
|
|
||||||
operation.container(None, &mut |operation| {
|
operation.container(
|
||||||
self.content.as_widget().operate(
|
self.id.as_ref().map(|id| &id.0),
|
||||||
&mut tree.children[0],
|
&mut |operation| {
|
||||||
layout.children().next().unwrap(),
|
self.content.as_widget().operate(
|
||||||
renderer,
|
&mut tree.children[0],
|
||||||
operation,
|
layout.children().next().unwrap(),
|
||||||
);
|
renderer,
|
||||||
});
|
operation,
|
||||||
|
);
|
||||||
|
},
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn on_event(
|
fn on_event(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue