]> source.dussan.org Git - vaadin-framework.git/commitdiff
Property panel 100% height
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Tue, 2 Oct 2007 16:19:15 +0000 (16:19 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Tue, 2 Oct 2007 16:19:15 +0000 (16:19 +0000)
svn changeset:2426/svn branch:trunk

src/com/itmill/toolkit/demo/features/PropertyPanel.java

index 55f1d3932d66a8965f30db0cc5abcf1602d8ffdc..f3a711b650d8caa14a933d9e3b9ce9ac1e9af87a 100644 (file)
@@ -72,6 +72,11 @@ public class PropertyPanel extends Panel implements Button.ClickListener,
                setCaption("Properties");
                addComponent(formsLayout);
 
+               setWidth(100);
+               setWidthUnits(Table.UNITS_PERCENTAGE);
+               setHeight(100);
+               setHeightUnits(Table.UNITS_PERCENTAGE);
+               
                // Target object
                this.objectToConfigure = objectToConfigure;
                config = new BeanItem(objectToConfigure);