From f8895a42b05b93f28416597c8115f7b598885ddb Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 14 Oct 2021 17:05:37 +0700 Subject: Implement `Widget::draw` for `Row` --- native/src/widget/row.rs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'native/src/widget/row.rs') diff --git a/native/src/widget/row.rs b/native/src/widget/row.rs index 04a1f864..7eb5ab55 100644 --- a/native/src/widget/row.rs +++ b/native/src/widget/row.rs @@ -169,14 +169,9 @@ where cursor_position: Point, viewport: &Rectangle, ) { - // TODO - // renderer.draw( - // defaults, - // &self.children, - // layout, - // cursor_position, - // viewport, - // ) + for (child, layout) in self.children.iter().zip(layout.children()) { + child.draw(renderer, defaults, layout, cursor_position, viewport); + } } fn hash_layout(&self, state: &mut Hasher) { -- cgit