Flex 1.5 Panel’s titleStyleDeclaration default

August 30th, 2006

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.

Entry Filed under: Adobe Flex, General, Rich Internet Applications

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


About: I work as a Platform Evangelist for Adobe Systems Incorporated.

My Amazon.com Wish List

Calendar

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

Most Recent Posts


Flex.org - The Directory for Flex