Riaz
18 Oct 2010, 4:09 PM
I am working on “TabPanel”. I have “xyz.png” icon. How do I add my custom icon in a Tab?
Suppose, I have following code which is working fine. I want to display “xyz.png” instead of “iconCls: 'Setting'”. How do I do?
{
fullscreen: true,
layout: 'card',
iconMask: true,
iconCls: 'settings', // What to add xyx.png icon instead of 'settings'
title: 'Setting',
items: [{
xtype: 'container',
style: { background: 'white none', color: 'black' },
html: "<br/> <h1 align ='center'><b> This is Setting Page </b></h1> <br/> <h6 align ='center'> <small>Under construction ... </small></h6> "
}]
}
Suppose, I have following code which is working fine. I want to display “xyz.png” instead of “iconCls: 'Setting'”. How do I do?
{
fullscreen: true,
layout: 'card',
iconMask: true,
iconCls: 'settings', // What to add xyx.png icon instead of 'settings'
title: 'Setting',
items: [{
xtype: 'container',
style: { background: 'white none', color: 'black' },
html: "<br/> <h1 align ='center'><b> This is Setting Page </b></h1> <br/> <h6 align ='center'> <small>Under construction ... </small></h6> "
}]
}