aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);