Re: Vertically centre text in Table Views
Re: Vertically centre text in Table Views
- Subject: Re: Vertically centre text in Table Views
- From: Jerry Krinock <email@hidden>
- Date: Fri, 23 Sep 2005 17:18:56 -0700
on 05/09/23 16:54, Mike Abdullah at email@hidden wrote:
> OK, this is driving me nuts. How on Earth do you vertically centre
> text in a table view? I've searched through the archives and found a
> few people who have asked, but there seems to be no decent answer!
> Please, surely someone knows?
A better question would be: Has anyone ever figured this out on their own,
without help from cocoadev?
The answer is that you must insert a subclassed NSTableColumn into your
table, and within it over-ride -dataCellForRow: and return your own NSCell
with all the fancy stuff you want. Search these list archives at
cocoabuilder.com for: subclass NSTableColumn, etc.
_______________________________________________
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