Thanks everyone, the corners are now show-up with the images specified in
the CSS.
Thomas is right, and I have to load the CSS from Shop.gwt.xml as shown
below:

<module>
  ...
  <entry-point class='com.dummy.shop.client.Shop' />
  <stylesheet src="/Shop.css" />
</module>



On Fri, Apr 17, 2009 at 6:05 PM, Thomas Broyer <[email protected]> wrote:

>
>
>
> On 17 avr, 05:03, hezjing <[email protected]> wrote:
> > Hi
> > May I know how to modify the corners of the DecoratorPanel?
> [...]
> > but it is still showing the default corners, it doesn't seem as simple as
> > changing the CSS though :-(
>
> Actually, it is, but it depends in which order the CSS rules are
> evaluated, and a stylesheet included from within a GWT module has
> precedence over ones that you link from / inline into your HTML host
> page.
> (search the group, this has been discussed many times in the last few
> weeks)
>
> > Do you have any idea of how to modify the rounded corners of the
> > DecoratorPanel?
>
> Your CSS snippet seems OK (beware of PNG's transparency if you plan to
> support IE6 though).
> >
>


-- 

Hez

--~--~---------~--~----~------------~-------~--~----~
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