diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-11-04 14:39:08 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-11-04 14:39:08 +0000 |
commit | cb94def5442134625e6df6452367a3781f2bb8ae (patch) | |
tree | 4643e42e0436c45e7bf8e45eefe7b692277056d0 /src/com/itmill/toolkit/demo/featurebrowser/TreeExample.java | |
parent | b23e1776c5246d6b935ea9dcca0b9100d823bd06 (diff) | |
download | vaadin-framework-cb94def5442134625e6df6452367a3781f2bb8ae.tar.gz vaadin-framework-cb94def5442134625e6df6452367a3781f2bb8ae.zip |
modified example to be compatible with current layout system
svn changeset:5818/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/demo/featurebrowser/TreeExample.java')
-rw-r--r-- | src/com/itmill/toolkit/demo/featurebrowser/TreeExample.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/demo/featurebrowser/TreeExample.java b/src/com/itmill/toolkit/demo/featurebrowser/TreeExample.java index bea28035e4..e7611353e4 100644 --- a/src/com/itmill/toolkit/demo/featurebrowser/TreeExample.java +++ b/src/com/itmill/toolkit/demo/featurebrowser/TreeExample.java @@ -39,6 +39,7 @@ public class TreeExample extends CustomComponent implements Action.Handler, public TreeExample() { final OrderedLayout main = new OrderedLayout( OrderedLayout.ORIENTATION_HORIZONTAL); + main.setWidth("100%"); main.setMargin(true); setCompositionRoot(main); @@ -79,6 +80,7 @@ public class TreeExample extends CustomComponent implements Action.Handler, editor.setColumns(15); p.addComponent(editor); main.addComponent(p); + main.setExpandRatio(p, 1); } public Action[] getActions(Object target, Object sender) { |