Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT Label text is fill with the backgroundColor, is it possible to have transparent Text, like drawString in AWT ?


Yes.

gc.drawString("allo",0,0,true)

The last argument is the "isTransparent" argument.



"Sebastien Dionne" <sdionne@xxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

23/04/2002 08:26 AM
Please respond to platform-swt-dev

       
        To:        <platform-swt-dev@xxxxxxxxxxx>
        cc:        
        Subject:        [platform-swt-dev] SWT Label text is fill with the backgroundColor, is it possible to have transparent Text, like drawString in AWT ?


when i use gc.DrawString("allo",0,0);
 
my text is fill with the background color, there is any way how i can remove the filling step ?


Back to the top