What details do you need? I think i tried to describe my problem in my first post as good as i can. (quoted it below with "Detailed description of the problem")
Main problem: How to access a single tab in a tabbar to set CSS style (disabled bar) or any other (better) way to disable a tab than i described in my first post. Thanks :-) On Apr 8, 11:27 am, alan m <[email protected]> wrote: > We need help to help you :-) More details please - what was the issue; > html & css browser output? > > On Wed, Apr 8, 2009 at 7:37 AM, -Lord-67 <[email protected]> wrote: > > > No suggestions from anyone? Really could need some help here ... > > > Greetings, > > -Lord-67 Detailed description of the problem: On Apr 1, 12:02 pm, -Lord-67 <[email protected]> wrote: > Hi everyone, > > i am trying to disable a few tabs in my TabBar since there is no > content in some cases. Therefor i disabled those tabs due to adding a > TabListener with the Method onBeforeTabSelected which returns false if > the tabIndex fits. (hint from this > thread:http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...) > . It works fine and nothing happens if you try to click on the tab. > Now i want those disabled tabs to look different than active or > selected tabs. > > Example CSS file: > .MainBar .gwt-TabBar { > background-color: #222222; > > } > > .MainBar .gwt-TabBarItem { > font-weight: bold; > cursor: pointer; > background-color: red; > > } > > .MainBar .gwt-TabBarItem-selected { > font-weight: bolder; > cursor: default; > background-color: green; > > } > > .MainBar .gwt-TabBarItem-disabled { > color: grey; > font-style: italic; > background-color: yellow; > cursor: default; > > } > > It works for the active and selected tabs, but i think disabled tabs > are not supported in GWT 1.5.3 that's why i have to set the style on > my own (since i only managed to disable them), but i don't know how to > access a single tab. Any suggestions? If there is a better way to > disable tabs and change the style let me know! I think with GWT 1.6 it > is possible to enable/disable single tabs, but i would like to work > with 1.5.3 until 1.6 has the status of a new official release. > > Thanks a lot in advance, > -Lord-67 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
