From 1ec8c6f158490650536ef08bd41ff746559f7793 Mon Sep 17 00:00:00 2001 From: Marc Englund Date: Thu, 3 Jul 2008 12:00:12 +0000 Subject: [PATCH] Removed width calculation from iLayout(): it caused #1757, and we were unable to come up a case that needed the code. Fixes #1757. svn changeset:5022/svn branch:trunk --- src/com/itmill/toolkit/terminal/gwt/client/ui/IForm.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IForm.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IForm.java index 14ab4d3f83..6722e1e421 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IForm.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IForm.java @@ -136,13 +136,6 @@ public class IForm extends ComplexPanel implements Paintable, } public void iLayout() { - // fix contained components container size as they may have relative - // widths - DOM.setStyleAttribute(fieldContainer, "width", ""); - DOM.setStyleAttribute(footerContainer, "width", ""); - int width = DOM.getElementPropertyInt(desc, "offsetWidth"); - DOM.setStyleAttribute(fieldContainer, "width", width + "px"); - DOM.setStyleAttribute(footerContainer, "width", width + "px"); Util.runDescendentsLayout(this); } -- 2.39.5