I am trying to set image of a button but its not covering the whole button. I mean, background of button is still visible.
I am trying to do it at run time by providing different image for each button in a loop.
Here it is:
But image is not covering all the button. or if image cannot be stretched then how can I make the button's background transparent?
for(var i=0; i<tvStore.getCount(); i++)
var aButton = Ext.create('Ext.Button',
style: 'width: 110px;
style: 'width: 110px; height:110px;
Alternatively I tried to set the cls for button:
but now the background image doesn't appear. When I change the cls to iconCls then icons appears insid e the button.
I am new ST2, anybody help me to set the background image of a button so that the whole button is covered with image.