CLabel problem [message #74412] |
Mon, 18 February 2008 21:55  |
Eclipse User |
|
|
|
Originally posted by: allen_liu.i-len.com
Hi everyone:
I have a question about CLabel setting backgroud.
I worte these codes in RAP:
CLabel clabel=new CLabel(parent,SWT.SHADOW_NONE);
clabel.setLayoutData(new GridData(50,60));
Image image=Graphics.getImage("logon.png",this.getClass().getClassLoader());
clabel.setBackground(back_image);
clabel.setText("example");
the text was shown normaly.I use setImage method that was shown images
nomaly.But the picture wasn't shown when I used setBackgroud method.RAP has
provided this method.
it doesn't work...is it a bug?
best regards
Thanks
Allen_liu 2008-02-19
|
|
|
Re: CLabel problem [message #74558 is a reply to message #74412] |
Tue, 19 February 2008 02:22  |
Eclipse User |
|
|
|
Originally posted by: fappel.innoopract.com
Hi,
seems to me a bug to. Would you please file a new bug entry?
Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: allen_liu [mailto:allen_liu@i-len.com]
Bereitgestellt: Dienstag, 19. Februar 2008 03:56
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: CLabel problem
Betreff: CLabel problem
Hi everyone:
I have a question about CLabel setting backgroud.
I worte these codes in RAP:
CLabel clabel=new CLabel(parent,SWT.SHADOW_NONE);
clabel.setLayoutData(new GridData(50,60));
Image
image=Graphics.getImage("logon.png",this.getClass().getClassLoader());
clabel.setBackground(back_image);
clabel.setText("example");
the text was shown normaly.I use setImage method that was shown images
nomaly.But the picture wasn't shown when I used setBackgroud method.RAP
has provided this method.
it doesn't work...is it a bug?
best regards
Thanks
Allen_liu 2008-02-19
|
|
|
Powered by
FUDForum. Page generated in 0.04006 seconds