Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Is there an enhanced SWT menu to support setting the background color and image

Even the bar shown in ExpandItem does not have any option to set its background color :(



On Wed, Apr 21, 2010 at 9:00 PM, Shawn Minto <shawn.minto@xxxxxxxxxxx> wrote:
Hi higer,

There is currently no SWT API to support setting the background color
on menus due to some problems with this support on Windows.  You can
have a look at the following 2 bugs for more information on this.

293231: improve the look of the Eclipse shell and toolbars on Windows 7
https://bugs.eclipse.org/bugs/show_bug.cgi?id=293231

168716: Menu bar background/foreground color
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168716

Shawn

On Wed, Apr 21, 2010 at 7:27 AM, Zhong Nanhai <higerinbeijing@xxxxxxxxx> wrote:
> HI,:
>
> I noticed that there is not a way for SWT menu to set its background,
> because the SWT is just a lightweight native api for all os.
>
> But I still want to know is there some work-around to implement such
> function, or someone has developed such enhanced SWT "widgets", though
> not for all platforms?
>
>
> Best Regards,
> higer
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>



--
Shawn Minto
shawn.minto@xxxxxxxxxxx
Tasktop Technologies, Inc.
http://www.tasktop.com
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top