On Dec 10, 2008, at 6:09 PM, Arun wrote:

Hi

I have an App in which i use NSOutlineView in the left hand side for
Navigational controls.
The Root and child's have text cells. I am have changed the font size for
the texts in the text cells.
are these cells customized ? I mean , Is there any class handling there behavior ? If yes, try setting the attributed properly in it. I guess you can find the text alignment methods easily.

After this the text in the cells are not aligned. The leave a lot of space
in the bottom and looks as if they were moved up.

May be the height and font size are not in proportion to accommodate the font change.

This also happens in the NSTableView.
Is there any way in which i can allign the text to the center of the cells

I am not sure of this but it looks something like this "NSCenterTextAlignment"


so that the text exactly reside in the center and leaves equal spaces w.r.t
the text cell height.

Thanks
Arun KA
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/rajesh%40vangennep.nl

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to