]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed a potential problem in IOrderedLayout (could not replicate the problem, but...
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Fri, 11 Jul 2008 17:32:22 +0000 (17:32 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Fri, 11 Jul 2008 17:32:22 +0000 (17:32 +0000)
svn changeset:5101/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java

index bf8f0afa69dc2a36030ec8feb6190f81915943e1..f6ec5038576dddf599f3d5450f632d42d9c1c7a5 100644 (file)
@@ -631,9 +631,8 @@ public class IOrderedLayout extends Panel implements Container,
             // Set size
             DOM.setStyleAttribute(e, "width", pixelWidth < 0 ? "" : pixelWidth
                     + "px");
-            DOM.setStyleAttribute(e, "height",
-                    pixelHeight < 0 ? (e == clipperDiv || !tableMode ? "100%"
-                            : "") : pixelHeight + "px");
+            DOM.setStyleAttribute(e, "height", pixelHeight < 0 ? ""
+                    : pixelHeight + "px");
 
             // Set cached values
             lastForcedPixelWidth = pixelWidth;