Merge pull request #1149 from nicksenger/fix/component-height
Fix `Widget::height` for `Component`
This commit is contained in:
commit
aa96a0a84d
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
fn height(&self) -> Length {
|
fn height(&self) -> Length {
|
||||||
self.state.as_ref().unwrap().borrow_cache().element.width()
|
self.state.as_ref().unwrap().borrow_cache().element.height()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn layout(
|
fn layout(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue