denniss
denniss

Reputation: 17599

Accessing Spark's Panel Title Bar

How do I get access to the 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?

Upvotes: 1

Views: 784

Answers (1)

JeffryHouser
JeffryHouser

Reputation: 39408

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.

Upvotes: 5

Related Questions