Rename spacing to padding in table widget

This commit is contained in:
Héctor Ramón Jiménez 2025-07-15 20:23:44 +02:00
parent b3ce0f23a5
commit 931ed20cf8
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 54 additions and 58 deletions

View file

@ -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()