Skip to content

Commit

Permalink
Merge pull request #2224 from tarkah/fix/map-size-hint
Browse files Browse the repository at this point in the history
Call size_hint from Map
  • Loading branch information
hecrj committed Jan 31, 2024
2 parents 4fcbcda + f9db8d1 commit d3727a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ where
self.widget.size()
}

fn size_hint(&self) -> Size<Length> {
self.widget.size_hint()
}

fn layout(
&self,
tree: &mut Tree,
Expand Down

0 comments on commit d3727a3

Please sign in to comment.