Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335798 - [Forms] Cocoa form title bars color use UI Highlight color
Summary: [Forms] Cocoa form title bars color use UI Highlight color
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.6   Edit
Hardware: Macintosh Mac OS X
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 19:50 EST by Miles Parker CLA
Modified: 2011-02-02 13:13 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Parker CLA 2011-01-30 19:50:46 EST
In Cocoa, forms components use the color defined in OS X preferences as the "Highlight" color, not the "Apperance" color. My feeling is that this is not the right choice. "Highlight" implies some user selection, i.e. of text, list box, etc. Therefore, it is probably appropriate for example to use it for *selected* view and editor title bars. However the forms UI shows all title bars for descriptions in sections in the highlight color. My suggestion is to change default to "Appearance Color" or perhaps some other default UI color.
Comment 1 Prakash Rangaraj CLA 2011-01-31 01:53:21 EST
Forms API is owned by UA
Comment 2 Chris Goldthorpe CLA 2011-02-01 17:49:31 EST
That is correct - UI forms uses the SWT colors SWT.COLOR_LIST_SELECTION and SWT.COLOR_LIST_FOREGROUND when creating the palette for a section, so the title will typically be a darker version of the highlight color and the backgrounds for section headers are gradients based on the highlight color. 

If you are writing an application using forms and don't like the way the colors look you can override these colors using Section.setBackground() and Section.setForeground().
Comment 3 Miles Parker CLA 2011-02-02 01:51:34 EST
OK, thanks for clearing that up Chris. I guess you only have two choices to pick from. For those of us who use yellow as the highlight color it makes everything look a bit weird. It would be nice to maybe have this available as a separate item in general preferences? Guess this one is wontfix or invalid.
Comment 4 Chris Goldthorpe CLA 2011-02-02 13:13:59 EST
Yes, it is a WONTFIX since we've used this color scheme for a long time. If I changed the colors it would affect a lot of UI that is based on forms, in any case you can override the colors if you are writing an application that uses UI forms.