I was trying to figure out how to add a class to an
individual tab so
the background color can be made different from other tab's
background
colors via css. For instance:
<div class="gwt-TabBarItem tab1"
style="white-space: nowrap;">The
First Tab</div>
Additionally, in order to have the selected tab correctly
change it's
background color in IE the gwt-TabBarItem-selected needs to
be made
specific to each tab. For instance
<div class="gwt-TabBarItem tab2
gwt-TabBarItem-selected-tab2"
style="white-space: nowrap;">The Second
Tab</div>
Having the standard gwt-TabBarItem-selected is good enough
for
FireFox, but for IE it isn't.
I have added an API to the GWT TabPanel and TabBar classes
to allow me
to do this, but I was wondering if there was a way to do
this without
editing the GWT source code.
--~--~---------~--~----~------------~-------~--~----~
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
a>
-~----------~----~----~----~------~----~------~--~---
|