Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Transparent CLabel with Background Image
Transparent CLabel with Background Image [message #446616] Mon, 29 November 2004 16:44 Go to next message
Tyrone Hed is currently offline Tyrone HedFriend
Messages: 79
Registered: July 2009
Member
I have set a background image. I would like my labels (CLabel) to be
transparent so the background image shows through under the CLabel.

Currently, the CLabel is bounded by a grey box. Anyone know how to do
this, or if it is even possible?

Thank you,
Ty
Re: Transparent CLabel with Background Image [message #446618 is a reply to message #446616] Mon, 29 November 2004 18:52 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Sorry but transparency is not possible.

See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=74458

You could draw the text on the background yourself using GC.drawString



"Tyrone Hed" <tyronehed@earthlink.net> wrote in message
news:cofjm3$ari$1@www.eclipse.org...
>
> I have set a background image. I would like my labels (CLabel) to be
> transparent so the background image shows through under the CLabel.
>
> Currently, the CLabel is bounded by a grey box. Anyone know how to do
> this, or if it is even possible?
>
> Thank you,
> Ty
>
Previous Topic:Microsoft
Next Topic:Question about the shell style
Goto Forum:
  


Current Time: Wed Apr 24 20:57:27 GMT 2024

Powered by FUDForum. Page generated in 0.02098 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top