From: Leif Åstrand Date: Thu, 12 Apr 2012 06:36:19 +0000 (+0300) Subject: Ensure table is measured in second layout phase X-Git-Tag: 7.0.0.alpha2~65^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6e0aed3ba959bc81b2e97ccd9e1098190501ebb;p=vaadin-framework.git Ensure table is measured in second layout phase --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/TableConnector.java b/src/com/vaadin/terminal/gwt/client/ui/TableConnector.java index a0db9cd3f9..f72764d884 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/TableConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/TableConnector.java @@ -285,6 +285,7 @@ public class TableConnector extends AbstractComponentContainerConnector table.sizeInit(); Scheduler.get().scheduleFinally(new ScheduledCommand() { public void execute() { + getLayoutManager().setNeedsMeasure(TableConnector.this); getLayoutManager() .setHeightNeedsUpdate(TableConnector.this); getLayoutManager().layoutNow();