summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo/features/FeaturesApplication.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/demo/features/FeaturesApplication.java')
-rw-r--r--src/com/itmill/toolkit/demo/features/FeaturesApplication.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeaturesApplication.java b/src/com/itmill/toolkit/demo/features/FeaturesApplication.java
index 070cf9ef4f..1c833e687f 100644
--- a/src/com/itmill/toolkit/demo/features/FeaturesApplication.java
+++ b/src/com/itmill/toolkit/demo/features/FeaturesApplication.java
@@ -38,7 +38,8 @@ public class FeaturesApplication extends com.itmill.toolkit.Application {
setUser(new Long(System.currentTimeMillis()).toString());
Window main = new Window("IT Mill Toolkit Features Tour");
setMainWindow(main);
- main.addComponent(new FeatureBrowser());
+
+ main.setLayout(new FeatureBrowser());
}
/**