then able to retrieve the correct width.
On Sunday, 12 May 2013 16:11:34 UTC+2, Joachim Nielandt wrote:
>
> I've created a website that displays a numbers of images and draws them on
> a canvas. Those images are PreloadedImage instances, and fire the draw
> method on their load
I've created a website that displays a numbers of images and draws them on
a canvas. Those images are PreloadedImage instances, and fire the draw
method on their load event. This works fine in Chrome but in Internet
Explorer their width are 0 when asked for (in Chrome, their width is
correct)
I created a website with a couple of subpages, every time the user clicks
the button to change 'page' I call a method that constructs a new panel
(and new content), which is added to the rootpanel (after clearing it). The
website has a main page with an image on it, and the main page can be
acc