[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Menu background color
|
there is a request for this, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=168716
"Victor Conesa" <victor.conesa@xxxxxxxxxxxxxx> wrote in message
news:6690b789ee9731297d29fee83e713776$1@xxxxxxxxxxxxxxxxxx
> 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.
>