Skip to content

Commit df38ca1

Browse files
committed
Added number-box stylename to NumberBox for easy styling
1 parent 59ade6e commit df38ca1

File tree

1 file changed

+1
-0
lines changed
  • gwt-material/src/main/java/gwt/material/design/client/base

1 file changed

+1
-0
lines changed

gwt-material/src/main/java/gwt/material/design/client/base/NumberBox.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public class NumberBox<T> extends ValueBox<T> {
4242
public NumberBox(NumberHandler handler) {
4343
// currently there's no way to create a <input type="number"> directly
4444
super(Document.get().createTextInputElement(), handler, handler);
45+
addStyleName("number-box");
4546
}
4647

4748
public static class NumberHandler<T> implements Renderer<T>, Parser<T> {

0 commit comments

Comments
 (0)