|
Re: Theming questions (buttontext/viewtab) [message #58055 is a reply to message #57934] |
Tue, 06 November 2007 22:17 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Magnus,
Magnus Konze schrieb:
> 1) Text color of buttons
> The comment in the template says, button.foreground changes the color of
> "PUSH and TOGGLE buttons". But in my application radio buttons are
> affected too. This is a problem, because i have white text on a red
> background (PUSH button), but RADIO buttons should have black text on
> white background (now i have white text on white background). Is it
> possible to achieve this via theming?
> By the way, button.CHECK.background seems to have no effect.
You're absolutely right in both cases. I opened a bug on this:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=208958
> 2) Color of View tabs
> I figured out, that i can change the backgroundcolor of the active View
> tab with list.selection.background. But the next properties (foreground,
> unfocused.foreground, unfocused.background) don't change anything on the
> tabs. Is this intention or is this the wrong property?
The property list.selection.background manipulates the SWT system color
SWT.COLOR_LIST_BACKGROUND which is used by Lists, Tree etc.
The CTabFolder widget uses the SWT colors SWT.COLOR_LIST_FOREGROUND and
SWT.COLOR_LIST_BACKGROUND as default selection colors.
The workbench also customizes the colors of its CTabFolders using the
workbench theming which is not yet implemented in RAP.
Regards,
Ralf
|
|
|
Powered by
FUDForum. Page generated in 0.03965 seconds