I am developing an AIR application and I need to change the font size of the text that is displayed in the dropDown List as well as the main text on the comboBox. My ComboBox is quite big in size but the text displayed in it is very small. I tried using the setStyle method by passing a TextFormat into it like :
cmbEmployee.setStyle("textFormat", txtform);
but it didn't work. Although the same method works well with a TextField.
Can somebody help ?
A
ComboBox
is a container that contains atextField
and adropdown
component. You need to apply the "styles" to the specific components inside of the ComboBox: