From 25640297f6465bbe25a435fab1efe221aabd52f4 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Tue, 28 Oct 2008 10:19:49 +0000 Subject: [PATCH] size changes now propagates deeper through non Paintable HasWidgets svn changeset:5750/svn branch:trunk --- .../toolkit/terminal/gwt/client/ApplicationConnection.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java b/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java index 28a6700bb3..01d82a2dc3 100755 --- a/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java @@ -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); } } -- 2.39.5