need NSColors for NSTableHeaderView details

Originator:mayoff
Number:rdar://42624512 Date Originated:26-Jul-2018 10:15 AM
Status:CLOSED Resolved:
Product:macOS + SDK Product Version:10.14 Beta (18A336e)
Classification:Enhancement Reproducible:Always
 
Summary:
Dear AppKitterinos,

Due to 42623717 (NSTableHeaderView draws incorrectly when taller than standard), I have a subclass of NSTableHeaderCell that draws the background and borders to work around the bug. However, the precise colors used for these details aren’t available as named, NSAppearance-compliant NSColors, so it’s difficult to precisely reproduce the standard header appearance (especially in a way that works in both light and dark modes).

Please add NSColor class properties that expose the colors of the table header borders and column separators.

Thanks,
Rob

Steps to Reproduce:
 

Expected Results:
 

Actual Results:
 

Version:
10.14 Beta (18A336e)

Notes:

Comments

Apple Developer Relations Aug 8 There are no plans to address this based on the following:

We don't plan on exposing these colors. the correct fix is just to support custom height headers.

We are now closing this report.

If you have questions about the resolution, or if this is still a critical issue for you, then please update your bug report with that information.

Please be sure to regularly check new Apple releases for any updates that might affect this issue.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!