diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-11-11 12:06:04 +0000 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-11-11 12:06:04 +0000 |
commit | bbdde30e0a5f3be888f99337409606b3351d5981 (patch) | |
tree | dc220eb025cce7298de0589ae570626558eeb25d /src/com/vaadin | |
parent | 0acd1bb01b6caa054e2e90cdb19fefd48e1b4969 (diff) | |
download | vaadin-framework-bbdde30e0a5f3be888f99337409606b3351d5981.tar.gz vaadin-framework-bbdde30e0a5f3be888f99337409606b3351d5981.zip |
#7923 Shrinking browser window not detected if resizeLazy is enabled
svn changeset:21974/svn branch:6.7
Diffstat (limited to 'src/com/vaadin')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VView.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VView.java b/src/com/vaadin/terminal/gwt/client/ui/VView.java index f82672e801..cd9f0c903c 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VView.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VView.java @@ -109,7 +109,8 @@ public class VView extends SimplePanel implements Container, ResizeHandler, private VLazyExecutor delayedResizeExecutor = new VLazyExecutor(200, new ScheduledCommand() { public void execute() { - windowSizeMaybeChanged(getOffsetWidth(), getOffsetHeight()); + windowSizeMaybeChanged(Window.getClientWidth(), + Window.getClientHeight()); } }); |