]> source.dussan.org Git - vaadin-framework.git/commitdiff
Small size fix for all some components.
authorJouni Koivuviita <jouni.koivuviita@itmill.com>
Tue, 20 Nov 2007 14:57:36 +0000 (14:57 +0000)
committerJouni Koivuviita <jouni.koivuviita@itmill.com>
Tue, 20 Nov 2007 14:57:36 +0000 (14:57 +0000)
svn changeset:2870/svn branch:trunk

src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java

index 945035b3f993d8feb898c75081aa32b141af648d..c4c2bb76c0b2e492ad3bc2e02d26101227765b19 100644 (file)
@@ -48,14 +48,10 @@ public class TestForBasicApplicationLayout extends CustomComponent {
         sp2.setSplitPosition(255, Sizeable.UNITS_PIXELS);\r
 \r
         Panel p = new Panel("Accordion Panel");\r
-        p.setHeight(100);\r
-        p.setHeightUnits(Sizeable.UNITS_PERCENTAGE);\r
+        p.setSizeFull();\r
 \r
         tab = new TabSheet();\r
-        tab.setWidth(100);\r
-        tab.setWidthUnits(Sizeable.UNITS_PERCENTAGE);\r
-        tab.setHeight(740);\r
-        tab.setHeightUnits(Sizeable.UNITS_PIXELS);\r
+        tab.setSizeFull();\r
 \r
         Panel report = new Panel("Monthly Program Runs", new ExpandLayout());\r
         OrderedLayout controls = new OrderedLayout();\r
@@ -83,10 +79,7 @@ public class TestForBasicApplicationLayout extends CustomComponent {
         table.setColumnCollapsingAllowed(true);\r
         table.setColumnReorderingAllowed(true);\r
         table.setSortDisabled(false);\r
-        table.setWidth(100);\r
-        table.setWidthUnits(Sizeable.UNITS_PERCENTAGE);\r
-        table.setHeight(100);\r
-        table.setHeightUnits(Sizeable.UNITS_PERCENTAGE);\r
+        table.setSizeFull();\r
         table.addStyleName("table-inline");\r
         sp2.setSecondComponent(table);\r
 \r