• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Vertically centre text in Table Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Vertically centre text in Table Views
      • From: Stéphane Sudre <email@hidden>
References: 
 >Vertically centre text in Table Views (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Define NSError Domain
  • Next by Date: Re: Define NSError Domain
  • Previous by thread: Vertically centre text in Table Views
  • Next by thread: Re: Vertically centre text in Table Views
  • Index(es):
    • Date
    • Thread