.gwt-TabPanel .gwt-TabBarItem {  color: black;
}

.gwt-TabPanel-grey .gwt-TabBarItem {  color: grey;
}

On Thu, Oct 16, 2008 at 6:58 AM, krishna <[EMAIL PROTECTED]> wrote:

>
>
> Hi,
>
> I wanted to have two tabpanels with different styles in the same app.
>
> I was hoping that I can achieve this by calling
> addStyleDependentName(styleName) on the tabpanel.
>
> For e.g.,
> tabPanel.addStyleDependentName("grey");
>
> I expected the implementation to use styles such as .gwt-TabBar-grey,
> gwt-TabBarFirst-grey, gwt-TabBarRest-grey, gwt-TabBarItem-grey, gwt-
> TabBarItem-selected-grey, gwt-TabPanel-grey, gwt-TabPanelBottom-grey
> automatically.
>
> It doesn't work that way. Underlying widgets of tabpanel like tabbar,
> tabitem etc have hardcoded styles and it is not easy to access or
> change these styles.
>
> Any ideas on how to implement this in a straight-forward way?
>
> Regards,
> Krishna
>
> >
>

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