aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni.koivuviita@itmill.com>2007-10-09 12:59:20 +0000
committerJouni Koivuviita <jouni.koivuviita@itmill.com>2007-10-09 12:59:20 +0000
commitc28458996bf4a327f1284a7df69c296ad51a3585 (patch)
tree011a22599c9cd78bb069481f0b035364b62f2ecf /src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
parent75fefd78333a99e023e1691889f5b712f93da271 (diff)
downloadvaadin-framework-c28458996bf4a327f1284a7df69c296ad51a3585.tar.gz
vaadin-framework-c28458996bf4a327f1284a7df69c296ad51a3585.zip
-Style name convetion changes to IPanel (no longer multiple classname like ".i-panel .i-panel-light", just ".i-panel-light" and ".i-panel-light-caption").
-FilterSelect prev and next button structure changed (now has one extra SPAN element for styling). -Initial tree styling done. svn changeset:2472/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java')
-rw-r--r--src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
index 1edbc0b83f..de23643681 100644
--- a/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
+++ b/src/com/itmill/toolkit/tests/TestForBasicApplicationLayout.java
@@ -23,8 +23,6 @@ public class TestForBasicApplicationLayout extends CustomComponent {
private TabSheet tab;
public TestForBasicApplicationLayout() {
- OrderedLayout main = new OrderedLayout();
- setCompositionRoot(main);
click = new Button("Set height -1", new ClickListener() {
@@ -44,12 +42,10 @@ public class TestForBasicApplicationLayout extends CustomComponent {
});
SplitPanel sp = new SplitPanel(SplitPanel.ORIENTATION_HORIZONTAL);
- sp.setSplitPosition(290, Sizeable.UNITS_PIXELS); // Width of left
- // side area
+ sp.setSplitPosition(290, Sizeable.UNITS_PIXELS);
SplitPanel sp2 = new SplitPanel(SplitPanel.ORIENTATION_VERTICAL);
- sp2.setSplitPosition(255, Sizeable.UNITS_PIXELS); // Height of
- // right-top area
+ sp2.setSplitPosition(255, Sizeable.UNITS_PIXELS);
Panel p = new Panel("Accordion Panel");
p.setHeight(100);
@@ -102,7 +98,7 @@ public class TestForBasicApplicationLayout extends CustomComponent {
sp.setFirstComponent(p);
sp.setSecondComponent(tab);
- main.addComponent(sp);
+ setCompositionRoot(sp);
}
}