Obviously,
the Style name of decoratedStackPanel is "gwt-DecoratedStackPanel"




On 26 Ott, 10:39, alexoffspring <alessales...@gmail.com> wrote:
> Try to definite your CSS style for a generic Decorated Stack Panel
> like following:
>
> ................
> .gwt-DecoratedStackPanel .gwt-StackPanelItem {
>         background-color: #000000;
>         color: #000000;
>         border-color: #000000;
>
> }
>
> .gwt-DecoratedStackPanel {
>         background-color: #000000;
>         color: #000000;
>         border-color: #000000;
>
> }
>
> .gwt-DecoratedStackPanel .gwt-StackPanelItem-selected {
>         background-color: #000000;
>         color: #000000;
>         border-color: #000000;}
>
> ..............
>
> and create it like following:
>
> DecoratedStackPanel decoratedStackPanel = new DecoratedStackPanel();
> decoratedStackPanel.add(new VerticalPanel(), "Feed Rss");
> decoratedStackPanel.add(new VerticalPanel(), "News");
>
> When launching the application, you will see that the DSP style
> appears ALWAYS the default style.
> You can write whatever you want in your CSS file, but for this Widget,
> style NEVER changes.
>
> Am i doing something wrong, or is a GWT bug?
>
> Please answer

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