So, I have a panel in Sencha Touch, and I have an image that I want to display as a component on that panel. I tried several things line by line:
logo = { xtype: 'component', autoEl: { src: 'http://addressofmyimage.com/image.png', tag: 'img', style: { height: 100, width: 100 } } };
Then adding the above component as an element in my panel. Image is not displayed. All my other components are displayed, but not the image. Even the icon with a disabled image. I can't figure it out ...
I would rather not just embed raw html, as I cannot format it as I wish.
source share