Create dummy wrapper and use myFirstTab.setStyleName("wrapper-for-tab-one")
mySecondTab.setStyleName("wrapper-for-tab-two")
and override the styles for the default tab by just adding
.wrapper-for-tab-one (two) in front of each selector.

On Fri, Jan 22, 2010 at 1:20 PM, Tolick <[email protected]>wrote:

> How it would be possible to have two tab bar controls on a page with
> different styles?
>
> Names of dependent styles seem to be hardcoded in the TabBar control
> implementation. So, setting upon setting stylename to a certain style
> does not affect dependent styles and thus things get broken.
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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