Yeah, I ran into the same problem. If the issue is just exposing the
style names during development (and you're not looking for this
particular solution for an additional reason), I would do as fvisticot
suggests and then just remove that line from your module's xml file
when you're ready for production mode. It's been a while since I
looked at this, but I believe I also just used

@external styleName;

in the ui:style section to prevent particular style names from being
obfuscated. I found the example here a little confusing, but the
concept is simple enough:
http://code.google.com/p/google-web-toolkit/wiki/CssResource#External_and_legacy_scopes

On Jan 6, 9:07 am, emerix <rafa...@gmail.com> wrote:
> Hi,
> I found on this 
> pagehttp://code.google.com/intl/fr-FR/webtoolkit/doc/latest/DevGuideClien...
> that you can use the property CssResource.obfuscationPrefix to choose
> how to obfuscate your css selectors.
> However I don't know if it is possible to use it to have a custom
> obfuscation.
> During the development phase, I'm using firebug to adjust padding,
> margin... of my widgets and it became quite difficult with the
> obsucated css class names...
>
> What I would like is a way to have  .G1qdtwdtK-MyWidgetName instead
> of .G1qdtwdtK for a css class named .MyWidgetName
>
> Is that feasible ?
>
> thanks !
-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to