Hi,
I have a question about the GWTCanvas implementation availabe through
the incubator.jar. I want to draw a png using the latest "release" of
gwt-Incubator.jar and the following commands:
String[] imageUrls = {_originalImageUrls
[IxGrapheditDataHandler.getInstance().getSelectedImage()]
+ "?" +
System.currentTimeMillis()};
ImageLoader.loadImages(imageUrls, new ImageLoader.CallBack() {
public void onImagesLoaded(ImageElement[] imageHandles) {
_img = imageHandles[0];
_canvas.drawImage(_img, 0, 0, _img.getWidth(),
_img.getHeight(), 0, 0, _img.getWidth(), _img.getHeight());
_canvas.setSize(_img.getWidth() + "px", _img.getHeight
() + "px");
}
});
In IE everything works fine, but in Firefox the image is distorted and
zoomed and only the upper-left part is displayed. Do you have any
quick fix for this?
Thanks for your help.
Greets,
Jens
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---