diff options
author | 2021-10-14 17:05:37 +0700 | |
---|---|---|
committer | 2021-10-14 17:05:37 +0700 | |
commit | f8895a42b05b93f28416597c8115f7b598885ddb (patch) | |
tree | 0b0541865955a058ba6ba430da86e81a8d2138cc /native/src/widget/row.rs | |
parent | 1ab2afe72d377d8fa9a5b2d71cc23f3a729351a4 (diff) | |
download | iced-f8895a42b05b93f28416597c8115f7b598885ddb.tar.gz iced-f8895a42b05b93f28416597c8115f7b598885ddb.tar.bz2 iced-f8895a42b05b93f28416597c8115f7b598885ddb.zip |
Implement `Widget::draw` for `Row`
Diffstat (limited to 'native/src/widget/row.rs')
-rw-r--r-- | native/src/widget/row.rs | 11 |
1 files changed, 3 insertions, 8 deletions
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) { |