开发者

Accessing Spark's Panel Title Bar

开发者 https://www.devze.com 2023-02-28 17:10 出处:网络
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

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

精彩评论

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