diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/components/menubar/MenuBarRunsOutOfBrowser.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/menubar/MenuBarRunsOutOfBrowser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/components/menubar/MenuBarRunsOutOfBrowser.java b/uitest/src/com/vaadin/tests/components/menubar/MenuBarRunsOutOfBrowser.java index 78c6d92ee2..0d9c3d8bba 100644 --- a/uitest/src/com/vaadin/tests/components/menubar/MenuBarRunsOutOfBrowser.java +++ b/uitest/src/com/vaadin/tests/components/menubar/MenuBarRunsOutOfBrowser.java @@ -23,7 +23,7 @@ public class MenuBarRunsOutOfBrowser extends AbstractTestCase { menuBar.addItem("ABC", new ThemeResource("icons/16/document.png"), null); menuBar.addItem("123", new ThemeResource("icons/16/help.png"), null); - main.getContent().addComponent(menuBar); + main.addComponent(menuBar); ((VerticalLayout) main.getContent()).setComponentAlignment(menuBar, Alignment.TOP_RIGHT); |