]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix to natural column width calculations in Table footer. (#12074)
authorAnna Koskinen <Ansku@users.noreply.github.com>
Thu, 13 Aug 2020 04:50:52 +0000 (07:50 +0300)
committerGitHub <noreply@github.com>
Thu, 13 Aug 2020 04:50:52 +0000 (07:50 +0300)
* Fix to natural column width calculations in Table footer.

compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java

index 200d44f6c48e54dd893102f4233afabc57df3841..b1de053b7f343a752d5cefede7910258b84bc286 100644 (file)
@@ -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;
                         }