[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Menu background color

Hi,

I'd like to change the background color of a SWT Menu component but I've noticed that there isn't any setBackground method like on the other widgets. In fact, as I've seen on the source code, there is a setBackground method but the visibility has changed from public to private.

As I've seen on other threads, it's the OS the one that sets the menu background but, since there are some workarounds on GTK there is none to Win32.

I think is a critical functionality (not mentioned the coherence with the rest of widgets) mostly to those developers (like me) who need to add branding to their applications (If all the application has grey background, why the menu don't?).

Maybe there is some solution to that problem, if it's the case I 'd really appreciate if someone explains it to me. If it's not, I think it would be useful if it's considered for the next SWT versions.

Thanks.