From aa3757c6649fa056b9495500d6987d213a8bb782 Mon Sep 17 00:00:00 2001 From: Anna Koskinen Date: Thu, 13 Aug 2020 07:50:52 +0300 Subject: Fix to natural column width calculations in Table footer. (#12074) * Fix to natural column width calculations in Table footer. --- .../src/main/java/com/vaadin/v7/client/ui/VScrollTable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compatibility-client/src') diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java index 200d44f6c4..b1de053b7f 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java @@ -4417,7 +4417,7 @@ public class VScrollTable extends FlowPanel .getOffsetWidth() + getHeaderPadding(); if (columnIndex < 0) { columnIndex = 0; - for (Widget widget : tHead) { + for (Widget widget : tFoot) { if (widget == this) { break; } -- cgit v1.2.3