Accessing Spark's Panel Title Bar
How do I get access to th开发者_运维知识库e s:Panel's title bar? I want to add event listeners ONLY to the title bar and not to the entire panel. Is there a way to do this?
You'll need to access the skin parts directly. Take a look at the PanelSkin class; as the source should be included in the SDK. It appears the only element that may allow interaction is the titleDisplay; the rest of the title bar consists of FXG or MXML graphics.
精彩评论