Re: NSTableview tooltip bug?

2012-05-02 Thread Donald Hall
sign, Inc. d...@appsandmore.com On 2012-05-02, at 11:54 AM, cocoa-dev-requ...@lists.apple.com wrote: > From: Corbin Dunn > To: Donald Hall > Cc: cocoa-dev@lists.apple.com > Subject: Re: NSTableview tooltip bug? > Message-ID: <0a0b2cde-d218-4d90-8021-c73872afd...@apple.com

Re: NSTableview tooltip bug?

2012-05-02 Thread Corbin Dunn
hi don, I recommend using the builtin tooltip support in NSTableView. There is a delegate method to provide the tool tip. Next, you are seeing expansionToolTips. Look at NSCell.h for custom drawing API for them. Or, turn them off for your table with API on NSTableView. corbin On May 1, 2012, a

NSTableview tooltip bug?

2012-05-01 Thread Donald Hall
I have an NSTableview column where each cell contains a file name. I use tooltips (addToolTipRect and NSToolTipOwner protocol) to show the complete path to the file when the user hovers the mouse over the cell. This works fine unless the name of the file exceeds the column width - 3 pixels. i.e