]> source.dussan.org Git - vaadin-framework.git/commitdiff
Don't mess with column widths any more (#8313)
authorLeif Åstrand <leif@vaadin.com>
Fri, 16 Mar 2012 14:55:12 +0000 (16:55 +0200)
committerLeif Åstrand <leif@vaadin.com>
Fri, 16 Mar 2012 14:55:12 +0000 (16:55 +0200)
src/com/vaadin/terminal/gwt/client/ui/VFormLayout.java

index 10413684dd63d029be0a751266b96a4b3e7c1fb7..26ddb84920e126a89f20e3af29b3239ccb414783 100644 (file)
@@ -141,13 +141,6 @@ public class VFormLayout extends SimplePanel {
 
                 childPaintable.updateFromUIDL(childUidl, client);
 
-                // Update cell width when isRelativeWidth has been udpated
-                if (childPaintable.isRelativeWidth()) {
-                    getCellFormatter().setWidth(i, COLUMN_WIDGET, "100%");
-                } else {
-                    getCellFormatter().setWidth(i, COLUMN_WIDGET, null);
-                }
-
                 String rowstyles = CLASSNAME + "-row";
                 if (i == 0) {
                     rowstyles += " " + CLASSNAME + "-firstrow";