Monday, May 30, 2011

Re: CssResource + GWT widget

Thank you Thomas.

(in a context of MVP / activities & places)
Is it a better design decision to use one big general CSS for all my
application or have one general CSS + smalls CSS for each views ?


On 30 mai, 06:39, Thomas Broyer <t.bro...@gmail.com> wrote:
> Unless you add an "@external gwt-Label;" (or "@external gwt-*;") line in
> your CssResource's CSS file, GWT will treat the gwt-Label class name just
> like any other, and will obfuscate it, so you'll have to setStyleName or
> addStyleName this obfuscated name (got back from the CssResource Java
> interface you declared) on your Label.
>
> In other words, if you want to have a rule on the gwt-Label "unobfuscated"
> class name, you have to mark it as "@external".

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment