]> source.dussan.org Git - vaadin-framework.git/commitdiff
better empty check, to pass size change propagation (fix from 5.4 branch)
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 28 May 2009 08:43:00 +0000 (08:43 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 28 May 2009 08:43:00 +0000 (08:43 +0000)
svn changeset:8050/svn branch:6.0

src/com/vaadin/terminal/gwt/client/ui/VForm.java

index 7c1981d3c5ec857888389ae6f8128bb10a52e847..290ce2f371aa0c46350bcb765b273f1b1158546a 100644 (file)
@@ -235,7 +235,8 @@ public class VForm extends ComplexPanel implements Container {
 \r
     public boolean requestLayout(Set<Paintable> child) {\r
 \r
-        if (height != null && width != null) {\r
+        if (height != null && !"".equals(height) && width != null\r
+                && !"".equals(width)) {\r
             /*\r
              * If the height and width has been specified the child components\r
              * cannot make the size of the layout change\r