Rename spacing to padding in table widget
This commit is contained in:
parent
b3ce0f23a5
commit
931ed20cf8
2 changed files with 54 additions and 58 deletions
|
|
@ -42,7 +42,7 @@ impl Table {
|
|||
.column(bold("Price"), |event| text!("{:.2}", event.price))
|
||||
.column(bold("Rating"), |event| text!("{:.2}", event.rating));
|
||||
|
||||
table(columns, &self.events).width(640).spacing_y(5)
|
||||
table(columns, &self.events).width(640).padding_y(5)
|
||||
};
|
||||
|
||||
center(scrollable(table).spacing(10)).padding(10).into()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue