]> source.dussan.org Git - vaadin-framework.git/commitdiff
minor form layout fix
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 26 May 2008 07:57:07 +0000 (07:57 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 26 May 2008 07:57:07 +0000 (07:57 +0000)
svn changeset:4628/svn branch:trunk

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

index f97f3d52c4b14a2ca03f2e65a193cecec805b718..3372f28eacc5c57b1976f49b20a93c668abd5e79 100644 (file)
@@ -124,6 +124,8 @@ public class IForm extends ComplexPanel implements Paintable,
     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