]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix ValoThemeUI button text (#9865)
authorHenri Sara <henri.sara@gmail.com>
Thu, 24 Aug 2017 07:08:03 +0000 (10:08 +0300)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2017 07:08:03 +0000 (10:08 +0300)
uitest/src/main/java/com/vaadin/tests/themes/valo/CommonParts.java

index 05033d9491a733f222ed9261683659b88b3cbeb2..403cee1882d62861d05c8b20b42f6e6c1a687001 100644 (file)
@@ -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() {