Hi Nate,

Have you tried it without the quotes?

tabStyleName: myTabs;

-TH

--- In flexcoders@yahoogroups.com, "Nate Pearson" <napearso...@...>
wrote:
>
> I'm trying to get a custom font in the tabs of my tab navigator and I
> can't get it to work. My code is below. I can get the font to work in
> other stuff but not in the tabs.
>
> Thanks!
>
> -Nate
>
>
>
> .myNavigator {
> tabHeight: 30;
> tabWidth: 140;
> paddingLeft: 0;
> paddingTop:0;
> tabStyleName: "myTabs";
> firstTabStyleName: "myTabs";
> lastTabStyleName: "myTabs";
> selectedTabTextStyleName: "myTabs";
> font-family: AvenirLTStdMedium;
> borderColor: #8e8e86;
> borderThickness: 2;
> }
>
>
> .myTabs {
> highlightAlphas: 0, 0.1;
> fillAlphas: 1, 0.82;
> fillColors: #a2a2a2, #b7b6b4;
> backgroundColor: #758bbc;
> borderColor: #b7b6b4;
> color: #ffffff;
> textRollOverColor: #ffffff;
> themeColor: #b7b6b4;
> fontSize: 14;
> textAlign: left;
> font-family: AvenirLTStdMedium;
> }
>
> @font-face
> {
> font-family: AvenirLTStdMedium;
> src: url("assets/fonts/AvenirLTStdMedium.otf");
> }
>



Reply via email to