From: Joonas Lehtinen Date: Thu, 1 Nov 2007 18:33:48 +0000 (+0000) Subject: Replaced temporarily expandlayout with orderedlayout until #1072 is fixed X-Git-Tag: 6.7.0.beta1~5713 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e4a89ab313f5b72f6656d3fa654d8469a7b93c7;p=vaadin-framework.git Replaced temporarily expandlayout with orderedlayout until #1072 is fixed svn changeset:2665/svn branch:trunk --- 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);