When I add the below code to a VLayout it works fine on Chrome and Firefox, but the image comes out very small on IE? If I take the
logoImg.setImageType(ImageStyle.CENTER);
it works but the image size and sharpness are then incorrect. Any quick ways to get around this on IE?
logoImg.setImageType(ImageStyle.CENTER);
it works but the image size and sharpness are then incorrect. Any quick ways to get around this on IE?
Code:
String image = "../../images/foo.png"; Img logoImg = new Img(image); logoImg.setImageType(ImageStyle.CENTER);
Comment