NSRuleEditor/NSPredicateEditor: Allow custom row drawing

Originator:bdkjones
Number:rdar://15147978 Date Originated:3 Oct 2013
Status:Open Resolved:
Product:Mac OS X SDK Product Version:All
Classification:UI/Usability Reproducible:Always
 
Summary:
Currently, NSRuleEditor and NSPredicateEditor draw a grey background color and dark grey separator lines between their rows. I would like:

1) Ideally, an override to do my own custom drawing in the row backgrounds, or the ability to provide rowViews to the NSRuleEditor (similarly to how we provide rowViews for NSTableView).

2) If not 1, then the ability to simply STOP the NSRuleEditor from drawing any background at all.

Steps to Reproduce:
N/A; see Description.

Expected Results:
N/A; see Description

Actual Results:
N/A; see Description

Version:
All versions of Mac OS X are affected.

Notes:
See the attached screenshot for an example of why I want to do this. The background of the NSPredicateEditor looks terrible in a customized UI. I want to turn it off and simply have the buttons, textfields and text sit on top of my custom background.

Configuration:
All configurations.

Comments


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!