• 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: table view cell vertically centered?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: table view cell vertically centered?


  • Subject: Re: table view cell vertically centered?
  • From: email@hidden
  • Date: Sun, 21 Apr 2002 20:35:51 -0700

i know enough to read up the entire superclass chain when looking for methods, and i know about NSCenterTextAlignment... it is for horizontal alignment, not vertical alignment, and is thus of no use to me here.

On Sunday, April 21, 2002, at 06:53 PM, Esteban wrote:

If you look at NSActionCell from which NSTextFieldCell inherits you can use setAlignment:NSCenterTextAlignment :)

Good idea to look at super classes :)

-Esteban

On Sunday, April 21, 2002, at 04:47 PM, email@hidden wrote:

Is there a way to tell a the default NSTextFieldCell that is in an NSTableColumn to vertically center its text?

I see a private field called vCentered on NSCell, but have had no luck frobbing it.

I have explicitly set the row height of my table to be taller than the standard text field, and i'd like the text to show up centered. presently it is aligned with the top of the cell.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: table view cell vertically centered? (From: Esteban <email@hidden>)

  • Prev by Date: Re: Using NSSocketPort
  • Next by Date: Re: Compile times.
  • Previous by thread: Re: table view cell vertically centered?
  • Next by thread: Re: Compile times
  • Index(es):
    • Date
    • Thread