summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-04-12 16:27:45 +0300
committerArtur Signell <artur@vaadin.com>2012-04-12 16:28:19 +0300
commit6171b26423edf8574c0c15219df346cc8d9ebd21 (patch)
treed274d724774470d77de63f0bc5117614fdb30e1f /src
parent215a2e419ddaaebe2d5d38012bfbfcde0576c7b3 (diff)
downloadvaadin-framework-6171b26423edf8574c0c15219df346cc8d9ebd21.tar.gz
vaadin-framework-6171b26423edf8574c0c15219df346cc8d9ebd21.zip
Ensure Table parent is measured after sizeInit
This is needed to take scrollbars into account
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/table/TableConnector.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/table/TableConnector.java b/src/com/vaadin/terminal/gwt/client/ui/table/TableConnector.java
index 8d0cbdb448..b53ee469cc 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/table/TableConnector.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/table/TableConnector.java
@@ -289,6 +289,8 @@ public class TableConnector extends AbstractComponentContainerConnector
Scheduler.get().scheduleFinally(new ScheduledCommand() {
public void execute() {
getLayoutManager().setNeedsMeasure(TableConnector.this);
+ getLayoutManager().setNeedsMeasure(
+ TableConnector.this.getParent());
getLayoutManager()
.setHeightNeedsUpdate(TableConnector.this);
getLayoutManager().layoutNow();