PDA

View Full Version : Add a link in a panel header



jfmateos2
25 Nov 2011, 4:21 AM
I have read in the API that it is easy to add a predefined Tool icon to a panel header.

But I would like to add a custom link that concatenates the text "Log out" and a Icon (Log out [image]).

¿Can anybody orientate me?

mitchellsimoens
25 Nov 2011, 6:39 AM
The header is just a Container using HBox (or VBox for headers on the left/right) so you can add/remove what you need just like you would to a normal Container.

jfmateos2
25 Nov 2011, 12:07 PM
But
how do I get a reference to the header?

mitchellsimoens
25 Nov 2011, 12:53 PM
But
how do I get a reference to the header?


panel.down('header');