PDA

View Full Version : custom icons in Ext.Window



steffenk
21 Jul 2009, 3:11 AM
Hi,

i would like to use custom icon for minimize as i want to do a costum method there.
I'm sure i've seen an example doing this, but can't find it again.

Do you know an example or how to do?

thx.

Condor
21 Jul 2009, 3:19 AM
Is the question:
a. how to change the minimize icon image
or
b. how to add a minimize tool that performs your custom method.

steffenk
21 Jul 2009, 3:37 AM
sry for confusing: it's a only:
How to add a custom icon at the place where minimize/maximize/close icons are

Condor
21 Jul 2009, 3:51 AM
Use the tools config option:

tools: [{
id: 'minimize',
handler: function(){
// your code
}
}]

steffenk
21 Jul 2009, 4:00 AM
ah - great. Missed to expand this property in docs, where the id's and icons are in. Thank you!