summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/itmill/toolkit/demo/sampler/SamplerApplication.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/itmill/toolkit/demo/sampler/SamplerApplication.java b/src/com/itmill/toolkit/demo/sampler/SamplerApplication.java
index 7ce97ffade..2b67353bbb 100644
--- a/src/com/itmill/toolkit/demo/sampler/SamplerApplication.java
+++ b/src/com/itmill/toolkit/demo/sampler/SamplerApplication.java
@@ -667,10 +667,9 @@ public class SamplerApplication extends Application {
FeatureGrid() {
setSizeFull();
- getLayout().setSizeUndefined();
- // grid.setWidth("100%");
+ setLayout(grid);
+ grid.setSizeUndefined();
grid.setSpacing(true);
- addComponent(grid);
setStyleName(Panel.STYLE_LIGHT);
}