You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by pheromix <la...@live.fr> on 2014/01/06 07:28:06 UTC
The headerStyleName of MobileGridColumn is not applied
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.
RE:The headerStyleName of MobileGridColumn is not applied
Posted by Maurice Amsellem <ma...@systar.com>.
Hi, i will be back from vacation on wednesday. Can you wait until then for an answer?
Maurice
________________________________________
De : pheromix [lains@live.fr]
Envoyé : lundi 6 janvier 2014 07:28
À : users@flex.apache.org
Objet : The headerStyleName of MobileGridColumn is not applied
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.