From: Matti Tahvonen Date: Wed, 20 May 2009 06:43:44 +0000 (+0000) Subject: fixes relative size issue with new theme X-Git-Tag: 6.7.0.beta1~2820 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a79bbfca7797c68a5f169f9fbfb3b94148e463d0;p=vaadin-framework.git fixes relative size issue with new theme svn changeset:7909/svn branch:6.0 --- 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