View Full Version : setHeight() error when creating Ext.Image

3 Jan 2012, 1:06 PM
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

3 Jan 2012, 1:44 PM
There is an open bug that has been fixed since PR3 for sizing issues with Ext.Img