I have a window in which i'm using a XTEMPLATE to dynamically create the body (which is just an image coming from the server).
I am also using a pagingToolbar to turn the page of a store containing the images.
My problem is that i want to resize the body of my window to the exact dimensions of my images when i turn the pages of my store.
I try to do it on the load listener of the store but the image isn't already display so the <img> containing it have width = 0 and height = 0.
If i press next then previous, it's ok because the browser get the image in cache so it display it faster.
So my question is : Do you know an event that can be catch by extJS after the image is loaded?
Thanks in advance.
If you have questions i'll be happy to answer it. =)