I want to use a css style for the fontSize of the header of a MobileGrid item
:
...
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace exp "http://flex.apache.org/experimental/ns";
.entete {
fontSize: 7;
}
</fx:Style>
<s:Group id="grp" width="100%">
<s:Button label="Ajouter" click="navigator.pushView(AjoutView)"
left="0" />
<s:Button label="Envoyer" click="send(event)" right="0" />
</s:Group>
<exp:MobileGrid id="dgm" dataProvider="{dataProvider}" width="100%"
height="100%" >
<exp:columns>
<exp:MobileGridColumn dataField="col1"
headerText="Colonne 1"
headerStyleName="entete" width="50%"/>
<exp:MobileGridColumn dataField="col2"
headerText="Colonne 2"
headerStyleName="entete" width="50%"/>
</exp:columns>
</exp:MobileGrid>
</s:View>
The problem is that at runtime the header is still big ! So how to set the
header's style ?
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/The-headerStyleName-of-MobileGridColumn-is-not-applied-tp4338.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.