]> source.dussan.org Git - vaadin-framework.git/commitdiff
size changes now propagates deeper through non Paintable HasWidgets
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 28 Oct 2008 10:19:49 +0000 (10:19 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 28 Oct 2008 10:19:49 +0000 (10:19 +0000)
svn changeset:5750/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java

index 28a6700bb3e135ae1acf4476caa0447caff4dd5c..01d82a2dc3be26ee381b0095a10aa8118120533d 100755 (executable)
@@ -633,7 +633,7 @@ public class ApplicationConnection {
                 }
 
                 if (html.length() != 0) {
-                    INotification n = new INotification(1000 * 60 * 45); // 45min
+                    INotification n = new INotification(1000 * 60 * 45); //45min
                     n.addEventListener(new NotificationRedirect(url));
                     n.show(html, INotification.CENTERED_TOP,
                             INotification.STYLE_SYSTEM);
@@ -1041,7 +1041,7 @@ public class ApplicationConnection {
     }
 
     /**
-     * Traverses recursively ancestors until ContainerResizedListener child
+     * Traverses recursively child widgets until ContainerResizedListener child
      * widget is found. They will delegate it further if needed.
      * 
      * @param container
@@ -1071,6 +1071,9 @@ public class ApplicationConnection {
                         runDescendentsLayout(childContainer);
                     }
                 }
+            } else if (child instanceof HasWidgets) {
+                // propagate over non Paintable HasWidgets
+                runDescendentsLayout((HasWidgets) child);
             }
 
         }