]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed width calculation from iLayout(): it caused #1757, and we were unable to...
authorMarc Englund <marc.englund@itmill.com>
Thu, 3 Jul 2008 12:00:12 +0000 (12:00 +0000)
committerMarc Englund <marc.englund@itmill.com>
Thu, 3 Jul 2008 12:00:12 +0000 (12:00 +0000)
svn changeset:5022/svn branch:trunk

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

index 14ab4d3f838d9273ca8a100c047cd9c121010b23..6722e1e42103a1971cd046761a47bbb2516efc54 100644 (file)
@@ -136,13 +136,6 @@ public class IForm extends ComplexPanel implements Paintable,
     }\r
 \r
     public void iLayout() {\r
-        // fix contained components container size as they may have relative\r
-        // widths\r
-        DOM.setStyleAttribute(fieldContainer, "width", "");\r
-        DOM.setStyleAttribute(footerContainer, "width", "");\r
-        int width = DOM.getElementPropertyInt(desc, "offsetWidth");\r
-        DOM.setStyleAttribute(fieldContainer, "width", width + "px");\r
-        DOM.setStyleAttribute(footerContainer, "width", width + "px");\r
         Util.runDescendentsLayout(this);\r
     }\r
 \r