From adc555f1ecd792052d89d715e366065a814a97be Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 1 Oct 2008 11:26:21 +0000 Subject: [PATCH] Fixed window resize problem svn changeset:5575/svn branch:trunk --- src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java index 4d77a5d38d..0e8874b4b7 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IView.java @@ -328,6 +328,8 @@ public class IView extends SimplePanel implements Container, "window h" + IView.this.height); } if (changed) { + updateContentAreaSize(); + ApplicationConnection .getConsole() .log( @@ -357,11 +359,13 @@ public class IView extends SimplePanel implements Container, DOM.setStyleAttribute(getElement(), "overflow", "hidden"); ApplicationConnection.getConsole().log( "Running layout functions due window resize"); + + updateContentAreaSize(); connection.runDescendentsLayout(this); + DOM.setStyleAttribute(getElement(), "overflow", overflow); - } - updateContentAreaSize(); + } } -- 2.39.5