]> source.dussan.org Git - vaadin-framework.git/commitdiff
Ensure table is measured in second layout phase
authorLeif Åstrand <leif@vaadin.com>
Thu, 12 Apr 2012 06:36:19 +0000 (09:36 +0300)
committerLeif Åstrand <leif@vaadin.com>
Thu, 12 Apr 2012 06:36:19 +0000 (09:36 +0300)
src/com/vaadin/terminal/gwt/client/ui/TableConnector.java

index a0db9cd3f93a7dae34b38f51e2db1b49d4978a73..f72764d884b01a7cc48b1ec0e5aa4ce7c647a0fe 100644 (file)
@@ -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();