summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket2215.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2215.java')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2215.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2215.java b/uitest/src/com/vaadin/tests/tickets/Ticket2215.java
index 387f9465cc..42db5d0efb 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2215.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2215.java
@@ -14,8 +14,10 @@ public class Ticket2215 extends LegacyApplication {
setMainWindow(new LegacyWindow());
VerticalLayout ol = new VerticalLayout();
- Panel p = new Panel("Test");
- p.addComponent(new Label("Panel1"));
+ VerticalLayout pl = new VerticalLayout();
+ pl.setMargin(true);
+ Panel p = new Panel("Test", pl);
+ pl.addComponent(new Label("Panel1"));
p.setHeight("500px");
p.setWidth("500px");
p.setStyleName(Reindeer.PANEL_LIGHT);