]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes #1930 OrderedLayout 100% default breaks all the programs setting pixelsize...
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Fri, 11 Jul 2008 06:41:10 +0000 (06:41 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Fri, 11 Jul 2008 06:41:10 +0000 (06:41 +0000)
svn changeset:5082/svn branch:trunk

src/com/itmill/toolkit/ui/OrderedLayout.java

index 225253ea2ebea85a4aa1bba72d521271e3a8c084..a3c3da5392ce596aa0747cce3508f1d739788cc9 100644 (file)
@@ -68,8 +68,6 @@ public class OrderedLayout extends AbstractLayout implements
      */
     public OrderedLayout() {
         orientation = ORIENTATION_VERTICAL;
-        setWidth(100);
-        setWidthUnits(UNITS_PERCENTAGE);
     }
 
     /**
@@ -81,10 +79,6 @@ public class OrderedLayout extends AbstractLayout implements
      */
     public OrderedLayout(int orientation) {
         this.orientation = orientation;
-        if (orientation == ORIENTATION_VERTICAL) {
-            setWidth(100);
-            setWidthUnits(UNITS_PERCENTAGE);
-        }
     }
 
     /**