Flex 1.5 Panel’s titleStyleDeclaration default
The document for Flex 1.5 Panel attribute titleStyleDeclaration is a little mis-leading. But to much of my surprise I found a nice tidbit in the description of the titleStyleDeclaration. There is a default styleName for this attribute, which contridicts other statements on the Panel documentation page.
The default value is “windowStyles”.
Here is what it says in the top part of the documentation:
titleStyleDeclaration="Default value is undefined, which causes the title bar to have white bold text."
And here is what it says in the Property Detail area:
Style declaration name for the text in the title bar. The default value is
windowStyles
, which causes the title to have bold text.
Between the windowStyles and the ControlBar style I was able to control the text color of the Panel’s header and controlBar, as well as not affect any text coloring inside the Panel component.
Recent Comments