aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2009-05-20 06:43:44 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2009-05-20 06:43:44 +0000
commita79bbfca7797c68a5f169f9fbfb3b94148e463d0 (patch)
treecbb196cf797e7b4905adda8f96fb0d6f7f312d21 /src
parent860b7339ffd1ab560f9f4a2b48ab0f7317d678f3 (diff)
downloadvaadin-framework-a79bbfca7797c68a5f169f9fbfb3b94148e463d0.tar.gz
vaadin-framework-a79bbfca7797c68a5f169f9fbfb3b94148e463d0.zip
fixes relative size issue with new theme
svn changeset:7909/svn branch:6.0
Diffstat (limited to 'src')
-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 7aa9301a5a..787fe6e939 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java
@@ -807,7 +807,7 @@ public class VWindow extends VOverlay implements Container, ScrollListener {
DOM.setStyleAttribute(getElement(), "width", rootWidth + "px");
}
- renderSpace.setWidth(pixelWidth);
+ renderSpace.setWidth(contents.getOffsetWidth() - getBorderWidth());
// IE6 needs the actual inner content width on the content element,
// otherwise it won't wrap the content properly (no scrollbars