Search code examples
gwtuibinder

Can I force GWT to leave out default CSS classes?


I'm tired of all the superfluous crap GWT renders into my HTML. Is there a setting I can turn on/off to prevent GWT from adding its default css classes on elements?

I want to get rid of things like class="gwt-RadioButton" and class="gwt-InlineLabel" from the rendered HTML. I don't use their themes so all it does is add unnecessary bloat.


Solution

  • No, it's not possible.

    IIRC, it was suggested a long time ago but no one took the time to do it. Particularly as it apparent doesn't have a big impact in performance (either output size or runtime perf)