[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: 'inactive' Color of Menuitem labels and images

Hi Jan,

I don't think there's a SWT.COLOR_... available for disabled menu texts,
it's the OSs that colour these texts.  I don't know if the OSs provide a way
for accessing this colour programmatically.  You can log a Feature Request
with swt if you want (
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=SWT&bug_severity=enhancement )
and this can be investigated.

Grant


"Jan Kohnert" <jko@xxxxxxxxxxx> wrote in message
news:14df2e8fe09b72ba1d59d8ddb2be248c$1@xxxxxxxxxxxxxxxxxx
> Hello,
>
> Which Systemolor is used in SWT for inactive Menuitems? I've tried
> SWT.COLOR_TITLE_INACTIVE_FOREGROUND, but thats a different one.
>
> Also I've to set a image inactive and want that it looks just like an
> inactive image in a menu item would look like. How can I achieve this?
>
> Thanks!
>
>