]> source.dussan.org Git - vaadin-framework.git/commitdiff
Update ResizeRequired paintable even if only width has changed (#8313)
authorLeif Åstrand <leif@vaadin.com>
Tue, 14 Feb 2012 10:30:19 +0000 (12:30 +0200)
committerLeif Åstrand <leif@vaadin.com>
Tue, 14 Feb 2012 10:30:19 +0000 (12:30 +0200)
src/com/vaadin/terminal/gwt/client/MeasureManager.java

index 516eb61c08116120c31e7fff30dea201a402c477..c72ee43d604ce9147975afb70b19aa3ddd5f33cd 100644 (file)
@@ -87,6 +87,9 @@ public class MeasureManager {
                 if (paintable instanceof CalculatingLayout) {
                     CalculatingLayout cl = (CalculatingLayout) paintable;
                     cl.updateHorizontalSizes();
+                } else if (paintable instanceof ResizeRequired) {
+                    ResizeRequired rr = (ResizeRequired) paintable;
+                    rr.onResize();
                 }
                 updatedSet.add(pid);
             }