flex3 - setting Flex Panel title and status colors dynamically -
i updating older project, written in flex 3 new functionality , cant figure out how appears simple.
i passing in data panel via xml , binding properties of panel xml, example:
<mx:panel label="{_data.@label}" title="{_data.@title}" bordercolor="{_data.@bordercolor}"/>
my question simple:
how set panel title , status colors using data passed in xml?
you can set titlestylename name of styledeclaration no styles titlecolor or statuscolor.
you use statusstylename , titlestylename specify css style name can specify color.
Comments
Post a Comment