Skip to content

Commit 98eb706

Browse files
committed
Fix alignment on "Seats" and "Price" columns
Bad column keys where being used on `setColumnAlignment` for `seats` and `price` columns.
1 parent dc9e620 commit 98eb706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/vaadin/demo/dashboard/view/transactions/TransactionsView.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ protected String formatPropertyValue(final Object rowId,
207207
table.setSortContainerPropertyId("time");
208208
table.setSortAscending(false);
209209

210-
table.setColumnAlignment("Seats", Align.RIGHT);
211-
table.setColumnAlignment("Price", Align.RIGHT);
210+
table.setColumnAlignment("seats", Align.RIGHT);
211+
table.setColumnAlignment("price", Align.RIGHT);
212212

213213
table.setVisibleColumns("time", "country", "city", "theater", "room",
214214
"title", "seats", "price");

0 commit comments

Comments
 (0)