Re: How to change highlight colour on NSTableView row

2013-10-27 Thread Darren Wheatley
Hi, Thanks for the post. I've tried your suggestion but it doesn't change the default rendering I'm afraid. Here's what I did: - created an NSTextFieldCell subclass - Added the method you suggested - changed the table cells in the NSTableView defined in IB to use my new subclass Was

Re: How to change highlight colour on NSTableView row

2013-10-23 Thread Uli Kusterer
I blogged about themeing NSTableView a while ago: http://orangejuiceliberationfront.com/themeing-nstableview/ That lists all the steps for changing highlight and other colors. Did you not see that via Google? Does that not work for you for some reason? I have a shipping application that uses

Re: How to change highlight colour on NSTableView row

2013-10-22 Thread Darren Wheatley
Hi, Thanks for the reply. I tried the code sample you suggested but can't get it to work. When running the default highlighting is being layered on top of this custom highlighting (I can see part of the custom highlighting where the rects are not quite overlapping). Do you know how I prevent

Re: How to change highlight colour on NSTableView row

2013-10-22 Thread Darren Wheatley
Hi, Thanks for the reply. I tried the code sample you suggested but can't get it to work. When running the default highlighting is being layered on top of this custom highlighting (I can see part of the custom highlighting where the rects are not quite overlapping). Do you know how I prevent

Re: How to change highlight colour on NSTableView row

2013-10-22 Thread Corbin Dunn
On Oct 22, 2013, at 5:36 AM, Darren Wheatley dar...@tenjinconsulting.co.uk wrote: Hi, Thanks for the reply. I tried the code sample you suggested but can't get it to work. When running the default highlighting is being layered on top of this custom highlighting (I can see part of

How to change highlight colour on NSTableView row

2013-10-21 Thread Darren Wheatley
Hi, I have a custom subclass of NSTableView in my app. I would like to change the highlight colour displayed when the user clicks on a row, and have the colour maintained when the NSTableView subclass loses focus. I have changed the subclass to ensure that the table is never first responder,

Re: How to change highlight colour on NSTableView row

2013-10-21 Thread jonat...@mugginsoft.com
On 21 Oct 2013, at 16:19, Darren Wheatley dar...@tenjinconsulting.co.uk wrote: Hi, I have a custom subclass of NSTableView in my app. Can anyone suggest a method that will allow me to set a custom highlight colour on on a row when the user clicks on it? I've Googled for a solution,