Re: NSOutlineView view-based SourceView HeaderCell text is not white when selected
Re: NSOutlineView view-based SourceView HeaderCell text is not white when selected
- Subject: Re: NSOutlineView view-based SourceView HeaderCell text is not white when selected
- From: Lee Ann Rucker <email@hidden>
- Date: Tue, 11 Feb 2014 12:58:37 -0800
Simpler than that - set the text field back to the standard default of "Text Color", and NSTextFieldCell knows what to do, just like in cell-based. So it's just IB throwing a wrench in the works.
On Feb 11, 2014, at 12:44 PM, Lee Ann Rucker wrote:
> Poked at it until I got it working: by default, IB creates the Source List HeaderCell text field with 49% gray text color. Set it to white and it works as expected - gray when not selected, white when it is.
>
> Filed rdar://16040037 - the NSTextFieldCell should work the same whether in view- or cell-based tables, and/or IB should create it with the color that works.
>
> On Feb 10, 2014, at 3:37 PM, Lee Ann Rucker wrote:
>
>> I've just converted my SourceView-style NSOutlineView from cell to view based. I didn't change anything from what IB gives me. In the cell-based version (based on Apple's SourceView sample), the header cells would have white text when selected; in view-based, they're dark gray on blue, which is not exactly readable.
>>
>> Have I missed something? The SourceView sample is still cell-based, so it's no help.
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden