flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mark goldin <markzolo...@gmail.com>
Subject Background color in custom renderer
Date Thu, 06 Nov 2014 15:45:37 GMT
I am using a label for my custom renderer:

override public function set data(value:Object):void
{
super.data = value;
if (value != null)
{
this.getTextField().background = true;
this.getTextField().setStyle("backgroundColor", "0xFFA500");
}
}
private function getTextField():*
{
return textField;
}

But I see no color.

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message