From ef260e6b5594bf5da6399a5e468554a161201f19 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 29 Jun 2012 15:20:55 +0300 Subject: [PATCH] Fixed problem when Table pagelength==0 and components wrap (#9067) --- src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java b/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java index 4021fc1230..e2aedd123f 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java @@ -5790,7 +5790,7 @@ public class VScrollTable extends FlowPanel implements HasWidgets, if (isDynamicHeight() && totalRows == pageLength) { // fix body height (may vary if lazy loading is offhorizontal // scrollbar appears/disappears) - int bodyHeight = Util.getRequiredHeight(scrollBody); + int bodyHeight = scrollBody.getRequiredHeight(); boolean needsSpaceForHorizontalScrollbar = (availW < usedMinimumWidth); if (needsSpaceForHorizontalScrollbar) { bodyHeight += Util.getNativeScrollbarSize(); -- 2.39.5