summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/tickets/Ticket2024.java
diff options
context:
space:
mode:
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2024.java')
-rw-r--r--uitest/src/com/vaadin/tests/tickets/Ticket2024.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2024.java b/uitest/src/com/vaadin/tests/tickets/Ticket2024.java
index c38ba7822a..2861c9beca 100644
--- a/uitest/src/com/vaadin/tests/tickets/Ticket2024.java
+++ b/uitest/src/com/vaadin/tests/tickets/Ticket2024.java
@@ -19,7 +19,7 @@ public class Ticket2024 extends LegacyApplication {
layout.setWidth("700");
w.getContent().setSizeFull();
w.getContent().setHeight("2000");
- w.getContent().addComponent(layout);
+ w.addComponent(layout);
layout.addComponent(new Label(
"This should NOT get stuck when scrolling down"));
@@ -28,7 +28,7 @@ public class Ticket2024 extends LegacyApplication {
VerticalLayout ol = new VerticalLayout();
ol.setHeight("1000");
ol.setWidth("200");
- w.getContent().addComponent(ol);
+ w.addComponent(ol);
ol.addComponent(new Label("Just a label to enable the scrollbar"));
}