Archive for August 30th, 2006

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.

Add comment August 30th, 2006



Disclaimer: I work as a Flash/Flex Developer for Adobe Systems Incorporated. The opinions expressed here represent my own and not those of my employer.

My Amazon.com Wish List

Calendar

August 2006
S M T W T F S
« Jul   Sep »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Posts by Month

Posts by Category


Flex.org - The Directory for Flex