]> source.dussan.org Git - vaadin-framework.git/commitdiff
Table with 100% width
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Tue, 2 Oct 2007 16:04:55 +0000 (16:04 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Tue, 2 Oct 2007 16:04:55 +0000 (16:04 +0000)
svn changeset:2425/svn branch:trunk

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

index ba3398611d99aaa549df0e14ea9174c3dc5ce524..55f1d3932d66a8965f30db0cc5abcf1602d8ffdc 100644 (file)
@@ -103,6 +103,11 @@ public class PropertyPanel extends Panel implements Button.ClickListener,
                                Table.ALIGN_LEFT, Table.ALIGN_CENTER, Table.ALIGN_CENTER });
                allProperties.setColumnHeaderMode(Table.COLUMN_HEADER_MODE_ID);
                allProperties.setPageLength(0);
+               allProperties.setWidth(100);
+               allProperties.setWidthUnits(Table.UNITS_PERCENTAGE);
+               // TODO Add as soon as supported
+               //allProperties.setHeight(100);
+               //allProperties.setHeightUnits(Table.UNITS_PERCENTAGE);
                updatePropertyList();
 
        }