Hi everybody...
I have a problem with images bundle and IE7...
In some cases images are not rendered in other cases all images are rendered
on the same button... (I use those images as icons to custom buttons)
I don't understand everything seems ok on Firefox and Chrome (as usual)
I use gwt 2.1 and smartgwt
There is a part of my code :
public interface UsersAdministrationImagesResources extends ClientBundle {
public static UsersAdministrationImagesResources INSTANCE =
GWT.create(UsersAdministrationImagesResources.class);
@Source("user_add.png")
ImageResource addUserImage();
@Source("user_delete.png")
ImageResource deleteUserImage();
@Source("user_edit.png")
ImageResource editUserImage();
@Source("group_add.png")
ImageResource addGroupImage();
@Source("group_delete.png")
ImageResource deleteGroupImage();
@Source("group_edit.png")
ImageResource editGroupImage();
}
and the way i use it :
to show a smartgwt button :
modificationButton = new ImgButton();
modificationButton.setSrc(UsersAdministrationImagesResources.INSTANCE
.editUserImage().getURL());
and in a real gwt button :
createButton = new Button();
createButton.setHTML( "<label>"+i18n.createUser() + "</label> <img
src=\"" + UsersAdministrationImagesResources.INSTANCE
.editUserImage().getURL() + "\">");
createButton.setWidth("200");
createButton.setHeight("22");
Why is it always so difficult with IE?
Is there someone to help me pleazzzzzzzzzzzzz????
--
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.