]> source.dussan.org Git - vaadin-framework.git/commitdiff
Ensure Table parent is measured after sizeInit
authorArtur Signell <artur@vaadin.com>
Thu, 12 Apr 2012 13:27:45 +0000 (16:27 +0300)
committerArtur Signell <artur@vaadin.com>
Thu, 12 Apr 2012 13:28:19 +0000 (16:28 +0300)
This is needed to take scrollbars into account

src/com/vaadin/terminal/gwt/client/ui/table/TableConnector.java

index 8d0cbdb448410198b1c68f571fc4b8728f5f6588..b53ee469cc2d4077fd1eeaa99c9119c434dc6978 100644 (file)
@@ -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();