我该如何设置面板标题栏中使用的图标?也许我需要自己添加一张图片,但如果是这样,我想我需要在某个地方定义或配置它吗?
{
xtype: 'treepanel',
title: 'Projects',
width: 200,
store: Ext.data.StoreManager.lookup('projects'),
tools: [
{
type: 'add', // this doesn't appear to work, probably I need to use a valid class
tooltip: 'Add project',
handler: function() {
console.log('TODO: Add project');
}
},
...
]
},