Call size_hint from Map
This commit is contained in:
parent
4fcbcdab1c
commit
f9db8d1efe
1 changed files with 4 additions and 0 deletions
|
|
@ -308,6 +308,10 @@ where
|
||||||
self.widget.size()
|
self.widget.size()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn size_hint(&self) -> Size<Length> {
|
||||||
|
self.widget.size_hint()
|
||||||
|
}
|
||||||
|
|
||||||
fn layout(
|
fn layout(
|
||||||
&self,
|
&self,
|
||||||
tree: &mut Tree,
|
tree: &mut Tree,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue