]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #1982 : changed the element used for width measurement due IE6 bug
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 15 Aug 2008 11:35:12 +0000 (11:35 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 15 Aug 2008 11:35:12 +0000 (11:35 +0000)
svn changeset:5192/svn branch:trunk

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

index 7c2f61e4fa85fd8d0d103ff1fba18130c72f5287..99f66332352222f03ab49b79b1ebf4c01de5f886 100644 (file)
@@ -497,7 +497,7 @@ public class IExpandLayout extends ComplexPanel implements
             size -= (marginTop + marginBottom);
         } else {
             // horizontal mode
-            size = DOM.getElementPropertyInt(childContainer, "offsetWidth");
+            size = DOM.getElementPropertyInt(breakElement, "offsetWidth");
         }
         return size;
     }