Browse Source

Fixed problem when Table pagelength==0 and components wrap (#9067)

tags/7.0.0.alpha3
Artur Signell 12 years ago
parent
commit
ef260e6b55
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java

+ 1
- 1
src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java View File

@@ -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();

Loading…
Cancel
Save