aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2007-11-06 07:14:26 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2007-11-06 07:14:26 +0000
commitf138893b54f154a49d23af9556c874f7eba16013 (patch)
tree2174dd23b89511e97663498856da4a2bc90b5e3e /src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
parentbf4817c10409082c01bf59f20568d9e628c9d5ba (diff)
downloadvaadin-framework-f138893b54f154a49d23af9556c874f7eba16013.tar.gz
vaadin-framework-f138893b54f154a49d23af9556c874f7eba16013.zip
-Layouts no longer implement Sizeable (except SplitPanel and ExpandLayout). Sizeable implementation now copy-pasted to all implementing classes (Panel, Tabsheet, SplitPanel...).
-Changed ReservationApplication to conform to new setStyleName. Removed deprecated style constant usages also. Some margins enabled to layouts. -IOrderedLayout vertical reverted back to DIV implementation. -Margins added to demo layouts where needed. svn changeset:2714/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java')
-rw-r--r--src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
index f7a058cbd2..e7712ecaaa 100644
--- a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
+++ b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
@@ -56,10 +56,10 @@ public class TestForBasicApplicationLayout extends CustomComponent {
tab.setWidthUnits(Sizeable.UNITS_PERCENTAGE);
tab.setHeight(740);
tab.setHeightUnits(Sizeable.UNITS_PIXELS);
- tab.addStyleName(TabSheet.STYLE_NO_PADDING);
Panel report = new Panel("Monthly Program Runs", new ExpandLayout());
OrderedLayout controls = new OrderedLayout();
+ controls.setMargin(true);
controls.addComponent(new Label("Report tab"));
controls.addComponent(click);
controls.addComponent(click2);