开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜