From e961143b7c7e9186bf39b499a50c08900aab5b5c Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Thu, 24 Aug 2017 10:08:03 +0300 Subject: [PATCH] Fix ValoThemeUI button text (#9865) --- .../main/java/com/vaadin/tests/themes/valo/CommonParts.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { -- 2.39.5