Hi,

I'm using a TabbedViewNavigatorApplication component for my mobile app.

Prior to the latest release, I had the following style defined:

<fx:Style>
                @namespace s "library://ns.adobe.com/flex/spark";
                s|TabbedViewNavigator #tabBar {
                        chromeColor:#a20808;
                }
                
                s|ActionBar
                {
                        chromeColor: #004494;
                }
</style>

Which set the background colour on the navigator. 

With the latest release, the above styles do not work and the navigator is
displayed in grey.

Looking at FlatSpark, in \frameworks\projects\flatspark\src\flatspark\skins,
I can't see a skin that would be causing this problem. 

So, the first question is how do I change the colour of
TabbedViewNavigatorApplication in the new mobile skins?

Secondly, I now got a lot of warnings about the RobotoRegular font not being
embedded as CFF. 

I found the following snippet on the web which prevents the warnings, but is
it the best way to handle this? 

/*Roboto Fonts*/ 
@font-face { 
        src: url("spark/skins/android4/assets/fonts/Roboto-Regular.ttf"); 
        fontFamily: RobotoRegular; 
        embed-as-cff: true; 
} 

@font-face { 
        src: url("spark/skins/android4/assets/fonts/Roboto-Bold.ttf"); 
        fontFamily: RobotoBold; 
        fontWeight: bold; 
        embed-as-cff: true; 
} 

Thanks,

Ross







--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/New-Flex-skin-tp9816.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to