dobie_
3 Jan 2012, 1:06 PM
Hello,
I have a panel that I want to put an Ext.Image in. I've tried this:
{
xtype: 'image',
src: 'images/logo.png',
height: 300,
width: 400
},
But I get this error:
Uncaught TypeError: Cannot call method 'setHeight' of undefined
So I'm just using a panel and setting the 'html' config option for now. Has anyone else run into this problem? I'm using ST2.0-pr3
I have a panel that I want to put an Ext.Image in. I've tried this:
{
xtype: 'image',
src: 'images/logo.png',
height: 300,
width: 400
},
But I get this error:
Uncaught TypeError: Cannot call method 'setHeight' of undefined
So I'm just using a panel and setting the 'html' config option for now. Has anyone else run into this problem? I'm using ST2.0-pr3