diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-10-02 16:04:55 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2007-10-02 16:04:55 +0000 |
commit | 84342e90d4111c72da940930f0070f648ac36479 (patch) | |
tree | e8ae5d12cb7d82b4fdc4536beb17855449e6bcfe | |
parent | a72cd3b75407481c3e07d731c21b63042cfebfc1 (diff) | |
download | vaadin-framework-84342e90d4111c72da940930f0070f648ac36479.tar.gz vaadin-framework-84342e90d4111c72da940930f0070f648ac36479.zip |
Table with 100% width
svn changeset:2425/svn branch:trunk
-rw-r--r-- | src/com/itmill/toolkit/demo/features/PropertyPanel.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/demo/features/PropertyPanel.java b/src/com/itmill/toolkit/demo/features/PropertyPanel.java index ba3398611d..55f1d3932d 100644 --- a/src/com/itmill/toolkit/demo/features/PropertyPanel.java +++ b/src/com/itmill/toolkit/demo/features/PropertyPanel.java @@ -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(); } |