0 Replies Latest reply on May 30, 2008 4:13 PM by Aaronius9er

    Stopping Flex Style Inheritance

    Aaronius9er
      Hey everyone,

      I'm using a TitleWindow as a container for several controls. A lot of the internal controls are RichTextEditors and other things based off the Panel control. Such internal controls inherit the styles from the TitleWindow, but I don't want them to. I attempted inheriting TitleWindow and using the following metadata:

      [Style(name="headerColors", type="Array", arrayType="uint", format="Color", inherit="no")]

      But I get this error:

      Declaration of style 'headerColors' conflicts with previous declaration in C:\dev\flex3_sdk\frameworks\libs\framework.swc(mx/controls/DataGrid).

      Anyone know how to accomplish what I want without having to apply the "normal" style to all my child controls?

      Thanks!