I'm trying to vertically center a NSTableView row (variable height)
using scrollRowToVisible. The default behaviour seems to be displaying
at the next-to-last row within the view. After much research, the only
way I can see to do this is to calculate row heights for subsequent
rows and adju
Hi Folks,
I'm trying to implement single-clicking for multiple words/phrases
within an NSTableView / NSTextFieldCell, which seems surprisingly
tricky. I've tried using NSAttributedString (in the hope I can use a
special NSURLProtocol to intercept the hyperlink), but it takes four
clicks t
. Or perhaps I can't
see the wood for the trees?
Tony
On 8 Apr 2010, at 5:34 pm, Corbin Dunn wrote:
On Apr 8, 2010, at 8:17 AM, Tony P wrote:
Hi Folks,
I'm trying to implement single-clicking for multiple words/phrases
within an NSTableView / NSTextFieldCell, which
Where's the best place to put noteHeightOfRowsWithIndexesChanged to
keep a tableview display correct whilst scrolling?
The tableview has variable height rows, and because of a relatively
slow data source, resizing and user control of fonts, etc, I don't
know the row height in advance. I'm c
Thanks for all the responses folks.
On 15 Jun 2010, at 7:22 pm, Corbin Dunn wrote:
Do the height calculations in the bounds change, and then call the
"noteHeight.." method all in the same run loop stack; that will
probably fix your problem.
Beautiful, works like a dream. Many, many thanks