diff options
author | 2021-12-09 15:00:53 +0700 | |
---|---|---|
committer | 2021-12-09 15:00:53 +0700 | |
commit | aa96a0a84dfd95a2aee6d573f9baa04782ba0fe6 (patch) | |
tree | e755af89159afd101f464cf921610bdc3e28020e | |
parent | 6f3a608717e08330187871516b1ab54a9a2192a3 (diff) | |
parent | 4a54d4dfc54cd6551a082a96c019fe2504c23a2a (diff) | |
download | iced-aa96a0a84dfd95a2aee6d573f9baa04782ba0fe6.tar.gz iced-aa96a0a84dfd95a2aee6d573f9baa04782ba0fe6.tar.bz2 iced-aa96a0a84dfd95a2aee6d573f9baa04782ba0fe6.zip |
Merge pull request #1149 from nicksenger/fix/component-height
Fix `Widget::height` for `Component`
-rw-r--r-- | lazy/src/component.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lazy/src/component.rs b/lazy/src/component.rs index aa5b847e..698f1796 100644 --- a/lazy/src/component.rs +++ b/lazy/src/component.rs @@ -68,7 +68,7 @@ where } fn height(&self) -> Length { - self.state.as_ref().unwrap().borrow_cache().element.width() + self.state.as_ref().unwrap().borrow_cache().element.height() } fn layout( |