Change font size with CSS
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:Style>
@namespace mx "http://www.adobe.com/2006/mxml";
mx|ComboBox, mx|TextInput, mx|Label {
font-size:24
}
</mx:Style>
<mx:ArrayCollection id="sizeData">
<mx:String>Small</mx:String>
<mx:String>Medium</mx:String>
<mx:String>Large</mx:String>
</mx:ArrayCollection>
<mx:Label text="selectedIndex: {sizeCB.selectedIndex}"/>
<mx:Label text="selectedItem: {sizeCB.selectedItem}"/>
<mx:Label text="Text: {sizeCB.text}"/>
<mx:ComboBox id="sizeCB" dataProvider="{sizeData}" prompt="Select an item" editable="true"/>
</mx:Application>
Related examples in the same category