2 Replies Latest reply on Jun 18, 2008 4:45 PM by broughten

    TabBar Style Help needed

    broughten
      Hi,

      I'm trying to figure out how to style a tab bar such that the selected tab will have text of a different color than the unselected tabs.

      Imagine 4 tabs. 3 are very light gray with black text. 1 is selected and it is dark blue with white text.

      I've been all over the documentation and I just can't figure out how to do this.

      Here's what I tried that didn't work:

      .myTabs {
      tabHeight:30;
      tabStyleName: "myTab";
      }

      .myTab {
      fillAlphas:1,1;
      fillColors:#F1F1F1,#FAFAFA;
      textSelectedColor:#FFFFFF;
      color:#000000;
      borderColor: #A7A7A7;
      backgroundColor: #6B86B6;
      cornerRadius: 0;
      }

      I thought using the textSelectedColor property would give me what I needed, but it didn't. Please help.
      Thanks,
      --Jon