From: Jouni Koivuviita Date: Tue, 20 Nov 2007 14:57:36 +0000 (+0000) Subject: Small size fix for all some components. X-Git-Tag: 6.7.0.beta1~5534 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ef65d079d37c15a774f7e55d0d4aa9398ad251f;p=vaadin-framework.git Small size fix for all some components. svn changeset:2870/svn branch:trunk --- 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);