Re: table view cell vertically centered?
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.