I made a custom LabelItemRenderer, inside it I want to give some additional style to a StyleableTextField. How can I do it without losing inherited styles? I tried different things, but always got an error saying antiAliasType must be set.
s|List.customListStyle
{
fontFamily: Arial;
fontSize: 18;
contentBackgroundAlpha: 0.25;
verticalScrollPolicy: auto;
downColor: #CCCCCC;
}
s|List.customListStyle sw|CustomListItemRenderer
{
paddingLeft: 20;
}
How should I set my text field style, and then set it in the createChildren method?
Since I wasn’t able to achieve this by using an external CSS and didn’t get any reply I decided to use setStyle. It’s not what I wanted, but it works…