Added table view example

This commit is contained in:
Adam Cosner 2024-12-30 14:17:35 -05:00
parent 8132f8f3e8
commit fc531b58c9
3 changed files with 216 additions and 0 deletions

View file

@ -215,6 +215,7 @@ where
.iter()
.map(|category| {
widget::row()
.spacing(space_xxxs)
.push_maybe(item.get_icon(*category).map(|icon| icon.size(24)))
.push(widget::text::body(item.get_text(*category)))
.align_y(Alignment::Center)