diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2012-06-12 17:21:52 +0300 |
---|---|---|
committer | Johannes Dahlström <johannesd@vaadin.com> | 2012-06-12 17:21:52 +0300 |
commit | de5fd8e0aefa0c43e2b0fe724102bca92eeaaf96 (patch) | |
tree | 123f7230bb74c98f58b81e1ba6dd454480bcd28c | |
parent | 10ba5e125634accee93f2d37341f4a08f9c33c10 (diff) | |
parent | 623628a1c0a579b9e1b7276a0475913e2e27d1cd (diff) | |
download | vaadin-framework-de5fd8e0aefa0c43e2b0fe724102bca92eeaaf96.tar.gz vaadin-framework-de5fd8e0aefa0c43e2b0fe724102bca92eeaaf96.zip |
Merge commit '62362'
Conflicts:
src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java | 5 |
1 files changed, 4 insertions, 1 deletions
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 c55f743fe2..e390643d9d 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java +++ b/src/com/vaadin/terminal/gwt/client/ui/table/VScrollTable.java @@ -5823,7 +5823,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 = scrollBody.getRequiredHeight(); + int bodyHeight = Util.getRequiredHeight(scrollBody); boolean needsSpaceForHorizontalScrollbar = (availW < usedMinimumWidth); if (needsSpaceForHorizontalScrollbar) { bodyHeight += Util.getNativeScrollbarSize(); @@ -5957,12 +5957,15 @@ public class VScrollTable extends FlowPanel implements HasWidgets, // overwriting the scroll position with an outdated value, see // #7607. Scheduler.get().scheduleDeferred(new Command() { + @Override public void execute() { Util.runWebkitOverflowAutoFix(scrollBodyPanel.getElement()); } }); } + triggerLazyColumnAdjustment(false); + /* * setting height may affect wheter the component has scrollbars -> * needs scrolling or not |