From the GWT page (http://code.google.com/webtoolkit/doc/latest/DevGuideUiCss.html#cssfiles), it mentions 2 ways (for modern application):
- Using a CssResource contained within a ClientBundle.
- Using an inline element in a UiBinder template.
Modern GWT applications typically use a combination of CssResource and UiBinder.
So my question is, when should I use a css file and create a CssResource for it, and when should I define styles directly in the ui.xml file using <ui:style>? Are there any performance implication (i.e. resource size to download on the client) with either of these ways?