PDA

View Full Version : 2.1.1 Disabled custom icons in IE8 are blurred



NotChris
7 Dec 2011, 8:38 AM
We are using our own custom icons in the BMPagingToolBar and the next/last icons in IE8 appear blurred. This works fine in FF 7. If you go to the next page, the previous and first icons have the same blurred look.



public class MyPagingToolBar extends PagingToolBar {
...
PagingToolBarImages images = getImages();
images.setFirst(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarFirst()));
images.setLast(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarLast()));
images.setNext(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarNext()));
images.setPrev(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarPrev()));
images.setFirstDisabled(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarDisabledFirst()));
images.setLastDisabled(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarDisabledLast()));
images.setNextDisabled(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarDisabledNext()));
images.setPrevDisabled(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarDisabledPrev()));
images.setRefresh(AbstractImagePrototype.create(ImagesResources.INSTANCE.addPagingToolbarRefresh()));

}

NotChris
8 Dec 2011, 10:24 AM
Should this instead be in the 2.x bug forum? I had originally entered it there but it got moved here. This is definitely a 2.1.1 bug.

sven
9 Dec 2011, 12:04 AM
You probably run into this: http://stackoverflow.com/questions/3885231/javascript-opacity-anti-aliasing-bug-in-internet-explorer

I (http://stackoverflow.com/questions/3885231/javascript-opacity-anti-aliasing-bug-in-internet-explorer)nstead of using imagebundle, try tp use the images as gif directly, using the iconStyle