From 6cdf69e76b8052fb726d5c2bf6c9746182e04d05 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 16 Nov 2019 22:08:49 +0100 Subject: Make `width` and `height` required methods --- native/src/widget/row.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'native/src/widget/row.rs') diff --git a/native/src/widget/row.rs b/native/src/widget/row.rs index 132479fd..3827fd9a 100644 --- a/native/src/widget/row.rs +++ b/native/src/widget/row.rs @@ -15,6 +15,10 @@ where self.width } + fn height(&self) -> Length { + self.height + } + fn layout( &self, renderer: &Renderer, -- cgit