diff options
author | 2020-02-14 15:57:07 +0100 | |
---|---|---|
committer | 2020-02-14 15:57:07 +0100 | |
commit | b72bd0b2b5c9c2a5c3f508a13ad9578169046a36 (patch) | |
tree | f75af65b619a364fd4b175e0e334f4d57df9766b /native/src/widget/space.rs | |
parent | 457d6f616af7359029b07d34d7e6cc1ab6cc6793 (diff) | |
download | iced-b72bd0b2b5c9c2a5c3f508a13ad9578169046a36.tar.gz iced-b72bd0b2b5c9c2a5c3f508a13ad9578169046a36.tar.bz2 iced-b72bd0b2b5c9c2a5c3f508a13ad9578169046a36.zip |
Add `bound` to `Node` constructor.
Diffstat (limited to '')
-rw-r--r-- | native/src/widget/space.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/space.rs b/native/src/widget/space.rs index 24c94bf6..899c258e 100644 --- a/native/src/widget/space.rs +++ b/native/src/widget/space.rs @@ -62,7 +62,7 @@ where ) -> layout::Node { let limits = limits.width(self.width).height(self.height); - layout::Node::new(limits.resolve(Size::ZERO)) + layout::Node::new(limits.resolve(Size::ZERO), Size::ZERO) } fn draw( |