saveButton.setStylePrimaryName("jtyfj");
If I do that to a button, it removes the default “gwt-button’ class and replaces it with ‘jtyfj’. My question is, is there a way to apply this yo all buttons by default. I’d really rather not have any default gwt-styles being referenced.
Also, is there a way to do it with a ClientBundle CSSResource?
Why don’t you just use another class that extends Button and set the style in the constructor?
Whenever you create an instance of StyleButton it will have the style you want.