|is Label with transparent PNG possible? [message #448639]
||Wed, 12 January 2005 18:02
Originally posted by: dostick.gmail.com|
I am using latest, 3.1 M4.
Trying to display PNG with transparency in Label.
Using Label.setImage(); image is drawn with back background instead of
And when same image is used with Composite.setBackground() it is drawn
with transparency correctly.
Image img = getImageRegistry().get("image.png");
Label imgLabel=new Label(form.getBody(),SWT.NONE);
- as result two instances of same image displayed, first is correct,
second has black background.
I only need PNG image to be drawn with transparency in Composite/Form.
Maybe I can use something else but Label?
Powered by FUDForum
. Page generated in 0.01325 seconds