Fix Widget::height for Component
This commit is contained in:
parent
6f3a608717
commit
4a54d4dfc5
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue