[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: Cannot set background on Button

May be you work using windows. In Microsoft Windows the color of a button 
depend from the Windows theme and can't be changed programmatically.

 Uwe
"Marc" <marc.robins@xxxxxxxxx> schrieb im Newsbeitrag 
news:d882mq$fab$1@xxxxxxxxxxxxxxxxxxx
> Hello,
>     I have a canvas with several buttons which I want to color. 
> Unfortunately I am unable to change the background or foreground color 
> with just setBackground(...).  I have not seen any colored buttons in the 
> eclipse platform so I am beginning to question whether it is possible at 
> all.
>
> Please help if you can.
>
> -Marc
>