Re: NSOutlineView problem with Text cells.
Re: NSOutlineView problem with Text cells.
- Subject: Re: NSOutlineView problem with Text cells.
- From: rajesh <email@hidden>
- Date: Thu, 11 Dec 2008 10:08:13 +0100
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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden