]> source.dussan.org Git - vaadin-framework.git/commitdiff
Always update the layout (#8313)
authorLeif Åstrand <leif@vaadin.com>
Tue, 21 Feb 2012 13:50:23 +0000 (15:50 +0200)
committerLeif Åstrand <leif@vaadin.com>
Tue, 21 Feb 2012 13:50:23 +0000 (15:50 +0200)
src/com/vaadin/terminal/gwt/client/ui/VAbstractSplitPanelPaintable.java

index 7f33c0fa287e54ace094f5700e7080af5655131a..229dfae5c291260056d0a8725a7a4a081cdaa786 100644 (file)
@@ -122,6 +122,9 @@ public abstract class VAbstractSplitPanelPaintable extends
         // This is needed at least for cases like #3458 to take
         // appearing/disappearing scrollbars into account.
         client.runDescendentsLayout(getWidgetForPaintable());
+
+        getMeasuredSize().setHeightNeedsUpdate();
+        getMeasuredSize().setWidthNeedsUpdate();
     }
 
     public void onResize() {