NSCell draw update
NSCell draw update
- Subject: NSCell draw update
- From: David Aames <email@hidden>
- Date: Thu, 7 Sep 2006 16:47:08 +0100
Hi list,
I've just encountered a strange issue. I've subclassed NSCell so it
centers image&text vertically - everything works okay. I'm drawing
the string value as an attributed string with a paragraph option
(NSLineBreakByTruncatingTail) so if there is not enough space or the
string is too long it truncates the text and displays an ellipsis. So
far so good. But when I put the NSOutlineView in a split view and
start dragging the divider it sends a draw message to the cells ONLY
after I've finished the resizing (i.e. let go of the left mouse
button). I would like the cells to be updates as I'm adjusting the
divider (Mail.app's behaviour). Any hints are greatly appreciated.
Kind regards,
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden