From 1e4a89ab313f5b72f6656d3fa654d8469a7b93c7 Mon Sep 17 00:00:00 2001 From: Joonas Lehtinen Date: Thu, 1 Nov 2007 18:33:48 +0000 Subject: [PATCH] Replaced temporarily expandlayout with orderedlayout until #1072 is fixed svn changeset:2665/svn branch:trunk --- src/com/itmill/toolkit/tests/TestBench.java | 6 ++---- 1 file 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); -- 2.39.5