Quickest workaround I see at the moment is to call
Code:
component.getElement.getStyle().setFontSize(12, Unit.PX)
Other setters on Style should have most other details you may want to change. Other options are
Code:
component.getElement().applyStyles("font-size:12px");
or
Code:
component.getElement().getStyle().setProperty("font-size", "12px")
In general though, if styling something, the most efficient way is to set a id or classname, and use css - check out how CssResource can make this easy, and only add styles to the page when they are needed.