Saturday, October 2, 2010

Re: GWT M3 StackLayoutPanel Styles

It's strange. I would also think that custom styles would be applied
last:
http://code.google.com/webtoolkit/doc/latest/DevGuideUiCss.html

On Oct 2, 7:40 am, Rud <rudmerr...@gmail.com> wrote:
> No, the alternate themes don't help because they all set a background
> color.
>
> What happens is my override of gwt-StackLayoutPanelContent is applied
> and then the theme gwt-StackLayoutPanelContent is applied which undoes
> my styles. I looked at it last night (instead of going to bed) using
> the Chrome browser developer tools and found this is what is
> happening.
>
> I would think my styles should be applied last.
>
> Rudhttp://MysticLakeSoftware.com
>
> On Oct 2, 1:49 am, Y2i <yur...@gmail.com> wrote:
>
>
>
> > May be com.google.gwt.user.theme.dark/chrome in gwt-usr.jar will help?
>
> > On Oct 1, 11:33 pm, Rud <rudmerr...@gmail.com> wrote:
>
> > > I've gone through all the old messages on putting style on this panel
> > > and readhttp://code.google.com/p/google-web-toolkit/issues/detail?id=4429
> > > which, I got the impression, was supposed to make styles work.
>
> > > I can't seem to figure out how. Since TabLayoutPanel had similar
> > > problems and I want to use it, also, I'm asking for help on this. The
> > > important part is for the background to match my overall page
> > > background, which isn't white.
>
> > > I am working with UiBinder.
>
> > > In the stack I have a VerticalPanel containing a Label. I can style
> > > the Label but it is left with white around the edges. Some of the
> > > style set on VerticalPanel is inherited by the lable, e.g. text bold.
>
> > > I've tried overriding gwt-StackLayoutPanelContent in the main CSS. It
> > > will change text boldness but not the background color.
>
> > > Any suggestions on how I can make this work?
>
> > > Rudhttp://MysticLakeSoftware.com-Hide quoted text -
>
> > - Show quoted text -

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate