Re: table view cell vertically centered?
Re: table view cell vertically centered?
- Subject: Re: table view cell vertically centered?
- From: Esteban <email@hidden>
- Date: Sun, 21 Apr 2002 18:53:03 -0700
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.
_______________________________________________
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.