I have a FlexTable that I want to programmatically add a plus or minus icon next to rows for which the user has pending changes. I do this with FlextTable#setWidget(int, int, Widget), specifying an Image for the Widget. The Image is constructed from an ImageResource that I obtain with a ClientBundle. If the image is a GIF, the transparency works correctly and I see the background of the table cell around the icon correctly. However, if the image is a PNG, I see it squared off, the background does not affect the area within the square that is the image file.
I'm posting this because it worked correctly (if I recall correctly, maybe even the reverse) in GWT 1.7. So my question is - is there something I need to specify to have it honor the transparency? Any one know a trick? Or am I being silly to use PNGs instead of GIFs anyway? -- 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.
