diff options
author | 2021-10-14 17:05:08 +0700 | |
---|---|---|
committer | 2021-10-14 17:05:08 +0700 | |
commit | 1ab2afe72d377d8fa9a5b2d71cc23f3a729351a4 (patch) | |
tree | 459efe7a62c7a3685cd35cfac8c9ede7622c28f0 /native/src/widget/column.rs | |
parent | 3a0c503db99eb3d45ac971132904df419ee566b6 (diff) | |
download | iced-1ab2afe72d377d8fa9a5b2d71cc23f3a729351a4.tar.gz iced-1ab2afe72d377d8fa9a5b2d71cc23f3a729351a4.tar.bz2 iced-1ab2afe72d377d8fa9a5b2d71cc23f3a729351a4.zip |
Implement `Widget::draw` for `Column`
Diffstat (limited to 'native/src/widget/column.rs')
-rw-r--r-- | native/src/widget/column.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |