From 9ef65d079d37c15a774f7e55d0d4aa9398ad251f Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Tue, 20 Nov 2007 14:57:36 +0000 Subject: [PATCH] Small size fix for all some components. svn changeset:2870/svn branch:trunk --- .../tests/TestForBasicApplicationLayout.java | 13 +++---------- 1 file 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); -- 2.39.5