View Full Version : Insert an image

4 Aug 2010, 12:13 AM
What is the correct way to insert an image inside the "items" property?
I tried :

{ xtype: 'box',
autoEl: {
tag: 'img',
src: 'http://www.sencha.com/assets/images/logo-sencha-sm.png'

but it doesn't work...

Thanks for the help

4 Aug 2010, 7:34 AM
If the parent container is already rendered, call doLayout() on it after adding the item.