diff options
Diffstat (limited to 'native/src/widget/text.rs')
-rw-r--r-- | native/src/widget/text.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/native/src/widget/text.rs b/native/src/widget/text.rs index 10d892a3..3097b8f3 100644 --- a/native/src/widget/text.rs +++ b/native/src/widget/text.rs @@ -13,6 +13,10 @@ where self.width } + fn height(&self) -> Length { + self.height + } + fn layout( &self, renderer: &Renderer, |