aboutsummaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-05-27 10:21:43 +0000
committerArtur Signell <artur.signell@itmill.com>2010-05-27 10:21:43 +0000
commit327bf1d1c711941a7bf360fe7d8eb79be7e9f8c1 (patch)
tree58eeaa1976b998b23e19d2c46e5b4ddd698a1ecb /src/com
parent8c60fc5fb4a2f2f26a7a2842a79ba57f9976c1ee (diff)
downloadvaadin-framework-327bf1d1c711941a7bf360fe7d8eb79be7e9f8c1.tar.gz
vaadin-framework-327bf1d1c711941a7bf360fe7d8eb79be7e9f8c1.zip
Fix for #5082 - Subwindow width wrong when contents is 100%x100%
svn changeset:13392/svn branch:6.3
Diffstat (limited to 'src/com')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java
index ecb499fdf8..4cf3f5fc80 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java
@@ -459,7 +459,7 @@ public class VWindow extends VOverlay implements Container, ScrollListener {
*/
int h = contents.getOffsetHeight() + getExtraHeight();
- int w = contents.getOffsetWidth();
+ int w = getElement().getOffsetWidth();
client.updateVariable(id, "height", h, false);
client.updateVariable(id, "width", w, true);