Sorry,  I don't understand you code snippet below. 
It's mixing upper case and lower case,  styleName and skinClass,  so it's 
difficult to tell which are css selectors and which are class names. 

Can you make a zip of your project (at least the MobileGrid custom skin classes 
and css) and share it via DropBox or the like, so that I can review it.

Regards,

Maurice 

-----Message d'origine-----
De : Jonathan Christian [mailto:[email protected]] 
Envoyé : lundi 31 mars 2014 17:46
À : [email protected]
Objet : RE: MobileGrid Skins

Thanks Maurice,

I have attempted to override the CSS and apply the style /.Mobileg/ to the 
MobileGrid, and  /.MobileGridHeader/ to the MobileGridColumn. This approach 
seems to partially work - any CSS in the header doesn't seem to take any 
effect. Am I doing this correctly? 

 <fx:Style>
  
       @namespace "http://flex.apache.org/experimental/ns";;
       @namespace s "library://ns.adobe.com/flex/spark";
       @namespace supportClasses "spark.components.supportClasses.*";

       
       .Mobileg
       {
           skinClass: ClassReference('spark.skins.MobileGridSkin');
           contentBackgroundColor: #ffffff;
           alternatingItemColors: #ffffff, #ffffff;
           color: #585558;
           selection-color: #ffffff; /* blue  */
           
       }

   .MobileGridHeader
       {
           skinClass:
ClassReference('spark.skins.MobileGridHeaderButtonBarSkin');
           /*   color: #f0f0f0;  */
       }
       

</fx:style>
      
        <ns:MobileGrid skinClass="Mobileg"/>



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

Reply via email to