1 Reply Latest reply on Mar 26, 2012 6:02 AM by Patel Bharat

    Tab Navigator Font Weight

    Fatlog

      Hi,

       

      I want to set the fontWeight on a tab navigators title to normal. By default it is bold.

      I've tried setting the style with a fontWeight of normal but it only affects unselected tabs.

      The selected tab title remains bold.

       

      Any suggestions??

       

      Thanks

        • 1. Re: Tab Navigator Font Weight
          Patel Bharat Level 2

          Use the following style, it will apply fontWeight normal to all the title (including selected tab)

           

          TabNavigator {

             tabStyleName: "myTabs";

             firstTabStyleName: "myTabs";

             lastTabStyleName: "myTabs";

             selectedTabTextStyleName: "mySelectedTabs";

          }

           

          .myTabs {

             cornerRadius: 5;

             fontWeight: normal;

           

          }

           

          .mySelectedTabs {

             fontWeight: normal;

          }