From 1ab2afe72d377d8fa9a5b2d71cc23f3a729351a4 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 14 Oct 2021 17:05:08 +0700 Subject: Implement `Widget::draw` for `Column` --- native/src/widget/column.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'native/src/widget') diff --git a/native/src/widget/column.rs b/native/src/widget/column.rs index 61b2361f..7cf6d345 100644 --- a/native/src/widget/column.rs +++ b/native/src/widget/column.rs @@ -170,7 +170,9 @@ where cursor_position: Point, viewport: &Rectangle, ) { - // TODO + 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