Added table view example
This commit is contained in:
parent
8132f8f3e8
commit
fc531b58c9
3 changed files with 216 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue