]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes #968
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Sun, 21 Oct 2007 16:02:04 +0000 (16:02 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Sun, 21 Oct 2007 16:02:04 +0000 (16:02 +0000)
svn changeset:2573/svn branch:trunk

src/com/itmill/toolkit/tests/RandomLayoutStress.java

index d72309174a14b99f5b70ffbe271af1e6938de718..1704526ca259663d6d651e04823894bcfed926d7 100644 (file)
@@ -64,8 +64,19 @@ public class RandomLayoutStress extends com.itmill.toolkit.Application {
                TabSheet tabsheet = new TabSheet();
                tabsheet
                                .setCaption("Tabsheet, above layouts are added to this component");
+               layoutA = new OrderedLayout(
+                               OrderedLayout.ORIENTATION_HORIZONTAL);
+               // Add 4 random components
+               fillLayout(layoutA, componentCountA);
                tabsheet.addTab(layoutA, "Horizontal ordered layout", null);
+               layoutB = new OrderedLayout(
+                               OrderedLayout.ORIENTATION_VERTICAL);
+               // Add 4 random components
+               fillLayout(layoutB, componentCountB);
                tabsheet.addTab(layoutB, "Vertical ordered layout", null);
+               layoutG = new GridLayout(gridSize, gridSize);
+               // Add 12 random components
+               fillLayout(layoutG, componentCountC);
                tabsheet.addTab(layoutG, "Grid layout (4 x 2)", null);
 
                // Create custom layout