diff options
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/themes/valo/CommonParts.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/themes/valo/CommonParts.java b/uitest/src/main/java/com/vaadin/tests/themes/valo/CommonParts.java index 05033d9491..403cee1882 100644 --- a/uitest/src/main/java/com/vaadin/tests/themes/valo/CommonParts.java +++ b/uitest/src/main/java/com/vaadin/tests/themes/valo/CommonParts.java @@ -329,13 +329,14 @@ public class CommonParts extends VerticalLayout implements View { pos.addStyleName(ValoTheme.BUTTON_SMALL); grid.addComponent(pos); - pos = new Button(ValoTheme.BUTTON_SMALL, new ClickListener() { + pos = new Button("", new ClickListener() { @Override public void buttonClick(ClickEvent event) { notification.setPosition(Position.MIDDLE_RIGHT); notification.show(Page.getCurrent()); } }); + pos.addStyleName(ValoTheme.BUTTON_SMALL); grid.addComponent(pos); pos = new Button("", new ClickListener() { |