Hi Stefan,

Thanks for your reaction.
Let me tell you a bit more.
I am starting to use styles through CssResource in my code now.
I know how to use a single style, but have no idea how to use a prefixed
style.
Example:
Suppose I have the following stylesheet:
I am trying to use a style like:

.panel  {
  width: 10px;
 }

.content  {
  font-size: 10;
 }

// The part I don't understand:...
.panel .content {
  padding: 10px;
 }

And my CssResource interface:
interface MyCssResource extends CssResource {
 public MyCssResource INSTANCE = GWT.create(MyCssResource.class);

    @ClassName("panel")
    String panel();

    @ClassName("content")
    String content();
}

So in my code I do something like this:
...
SimplePanel panel = new SimplePanel();
panel.setStyleName(MyCssResource.INSTANCE.panel());

Label content = new Label("someText");
content.setStyleName(MyCssResource.INSTANCE.content);

So how is this prefixed style ".panel .content" used and obfuscated ?...
Should I use the @import annoation for this ? .. and how ? :(... A bit
confusing

In the doc they use several sheets. Maybe I should use that?.. But how do I
link these to the client bundle :(...

Ed

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

Reply via email to