]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes relative size issue with new theme
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 20 May 2009 06:43:44 +0000 (06:43 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 20 May 2009 06:43:44 +0000 (06:43 +0000)
svn changeset:7909/svn branch:6.0

src/com/vaadin/terminal/gwt/client/ui/VWindow.java

index 7aa9301a5ade3ffbbf426c082474bd64ff816f28..787fe6e939f85c6195194781950ed082403d54d5 100644 (file)
@@ -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