From: Artur Signell Date: Fri, 29 Jun 2012 12:20:55 +0000 (+0300) Subject: Fixed problem when Table pagelength==0 and components wrap (#9067) X-Git-Tag: 7.0.0.alpha3~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ef260e6b5594bf5da6399a5e468554a161201f19;p=vaadin-framework.git Fixed problem when Table pagelength==0 and components wrap (#9067) --- 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();