diff options
author | Automerge <automerge@vaadin.com> | 2012-02-15 15:19:09 +0000 |
---|---|---|
committer | Automerge <automerge@vaadin.com> | 2012-02-15 15:19:09 +0000 |
commit | 3ef20fe8faf7459bfb36d68bab0a05b47d6f40b3 (patch) | |
tree | cd9bcf1b733c3e55f90d9940abbfa298881aa611 /tests/testbench | |
parent | dab5c83ffe1656cac273d636dec958b238f99dc4 (diff) | |
download | vaadin-framework-3ef20fe8faf7459bfb36d68bab0a05b47d6f40b3.tar.gz vaadin-framework-3ef20fe8faf7459bfb36d68bab0a05b47d6f40b3.zip |
[merge from 6.7] Add some labels and a little spacing to spice things up
svn changeset:23036/svn branch:6.8
Diffstat (limited to 'tests/testbench')
-rw-r--r-- | tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java b/tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java index d50952f070..a9f53bf996 100644 --- a/tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java +++ b/tests/testbench/com/vaadin/tests/components/orderedlayout/OrderedLayoutCases.java @@ -190,8 +190,13 @@ public class OrderedLayoutCases extends TestBase { new ClickListener() { public void buttonClick(ClickEvent event) { resetState(); + setState(sizeBar, 2, 1); // width: 350px to middle child setChildState(1, 0, 2); + // middle center allign to middle child + setChildState(1, 4, 5); + // long captions to right child + setChildState(2, 2, 2); } })); caseBar.addComponent(new Button("Undefined with relative", @@ -222,6 +227,10 @@ public class OrderedLayoutCases extends TestBase { setState(sizeBar, 3, 1); // width: 350px to middle child setChildState(1, 0, 2); + // short caption for middle child + setChildState(1, 2, 1); + // top center align for middle child + setChildState(1, 4, 2); } })); @@ -237,6 +246,8 @@ public class OrderedLayoutCases extends TestBase { setChildState(1, 3, 1); // Align bottom left to middle child setChildState(1, 4, 6); + // Long caption to middle child + setChildState(1, 2, 2); } })); @@ -248,6 +259,8 @@ public class OrderedLayoutCases extends TestBase { setState(sizeBar, 0, 3); // Layout height: 350px setState(sizeBar, 1, 2); + // Long caption to left child + setChildState(0, 2, 2); // Width 350px to middle child setChildState(1, 0, 2); // Apply to left and middle child @@ -270,6 +283,8 @@ public class OrderedLayoutCases extends TestBase { setChildState(0, 1, 2); // Height: 100% to middle child setChildState(1, 1, 4); + // Short caption to middle child + setChildState(1, 2, 1); // Alignment: bottom left to right child setChildState(2, 4, 7); } @@ -281,6 +296,8 @@ public class OrderedLayoutCases extends TestBase { resetState(); // Height: 350px to left child setChildState(0, 1, 2); + // Short caption to left child + setChildState(0, 2, 1); // Height: 100% to middle child setChildState(1, 1, 4); // Alignment: bottom left to right child |