aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/TestBench.java
diff options
context:
space:
mode:
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-11-01 18:33:48 +0000
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-11-01 18:33:48 +0000
commit1e4a89ab313f5b72f6656d3fa654d8469a7b93c7 (patch)
treebe69dc1b00dbb722c9f678b26325477c6ca89b6e /src/com/itmill/toolkit/tests/TestBench.java
parent56f30345d9f27ce2097b767b1030759a3389d6bf (diff)
downloadvaadin-framework-1e4a89ab313f5b72f6656d3fa654d8469a7b93c7.tar.gz
vaadin-framework-1e4a89ab313f5b72f6656d3fa654d8469a7b93c7.zip
Replaced temporarily expandlayout with orderedlayout until #1072 is fixed
svn changeset:2665/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/TestBench.java')
-rw-r--r--src/com/itmill/toolkit/tests/TestBench.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/tests/TestBench.java b/src/com/itmill/toolkit/tests/TestBench.java
index f3ed3b3cf1..1a6a5e2c73 100644
--- a/src/com/itmill/toolkit/tests/TestBench.java
+++ b/src/com/itmill/toolkit/tests/TestBench.java
@@ -27,8 +27,6 @@ import com.itmill.toolkit.ui.*;
public class TestBench extends com.itmill.toolkit.Application implements
Property.ValueChangeListener {
- private Random seededRandom = new Random(1);
-
// Add here packages which are used for finding testable classes
String[] testablePackages = { "com.itmill.toolkit.tests",
"com.itmill.toolkit.demo", "com.itmill.toolkit.demo.colorpicker",
@@ -97,10 +95,10 @@ public class TestBench extends com.itmill.toolkit.Application implements
mainLayout.addComponent(menu);
- bodyLayout.setStyle("light");
+ bodyLayout.addStyleName("light");
bodyLayout.setHeight(100);
bodyLayout.setHeightUnits(Panel.UNITS_PERCENTAGE);
- bodyLayout.setLayout(new ExpandLayout());
+ bodyLayout.setLayout(new OrderedLayout());
mainLayout.addComponent(bodyLayout);