summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2007-11-20 14:57:36 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2007-11-20 14:57:36 +0000
commit9ef65d079d37c15a774f7e55d0d4aa9398ad251f (patch)
tree43f64a7cfd9c401870ffe57bf5ac5578707bdb30 /src
parentcba1fcf887435cc9fdc6767022f5bd58c7184ba5 (diff)
downloadvaadin-framework-9ef65d079d37c15a774f7e55d0d4aa9398ad251f.tar.gz
vaadin-framework-9ef65d079d37c15a774f7e55d0d4aa9398ad251f.zip
Small size fix for all some components.
svn changeset:2870/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
index 945035b3f9..c4c2bb76c0 100644
--- a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
+++ b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
@@ -48,14 +48,10 @@ public class TestForBasicApplicationLayout extends CustomComponent {
sp2.setSplitPosition(255, Sizeable.UNITS_PIXELS);
Panel p = new Panel("Accordion Panel");
- p.setHeight(100);
- p.setHeightUnits(Sizeable.UNITS_PERCENTAGE);
+ p.setSizeFull();
tab = new TabSheet();
- tab.setWidth(100);
- tab.setWidthUnits(Sizeable.UNITS_PERCENTAGE);
- tab.setHeight(740);
- tab.setHeightUnits(Sizeable.UNITS_PIXELS);
+ tab.setSizeFull();
Panel report = new Panel("Monthly Program Runs", new ExpandLayout());
OrderedLayout controls = new OrderedLayout();
@@ -83,10 +79,7 @@ public class TestForBasicApplicationLayout extends CustomComponent {
table.setColumnCollapsingAllowed(true);
table.setColumnReorderingAllowed(true);
table.setSortDisabled(false);
- table.setWidth(100);
- table.setWidthUnits(Sizeable.UNITS_PERCENTAGE);
- table.setHeight(100);
- table.setHeightUnits(Sizeable.UNITS_PERCENTAGE);
+ table.setSizeFull();
table.addStyleName("table-inline");
sp2.setSecondComponent(table);