Wednesday, September 8, 2010

Re: DisclosurePanel, class-name "content"

Then the problem isn't with GWT; it is with the site you are
integrating with not having a convention. I do agree that it would be
nice to be able to change this and if it bugs you that much you can,
it's just not as easy as it could be. They have a private static
string with the style name within disclosure panel, but you can't
change it as easy because everything is private, instead you will have
to remove the name after it is added and add your own by overriding
the setContent method

On Sep 7, 11:36 pm, Jaroslav Záruba <jaroslav.zar...@gmail.com> wrote:
> On Wed, Sep 8, 2010 at 2:43 AM, lineman78 <linema...@gmail.com> wrote:
> > It is because content and header all both children of the gwt-
> > DisclosurePanel class and they expect you to use child selectors.
> > Here is what they expect you use so that you don't end up with
> > collisions:
>
> > .gwt-DisclosurePanel .content {
> >  border: 2px solid black;
> > }
>
> In other words, this ^^^ does not address the issue.
>
> Regards
>   J. Záruba

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