Re: Custom Table View Cells and String Text Alignment and Breaking
Re: Custom Table View Cells and String Text Alignment and Breaking
- Subject: Re: Custom Table View Cells and String Text Alignment and Breaking
- From: Quincey Morris <email@hidden>
- Date: Thu, 6 Aug 2009 17:26:42 -0700
On Aug 6, 2009, at 17:08, Grant Erickson wrote:
However, with regard to the strings, particularly concerning the
right-alignment of the non-stacked string, nudging around the X
points to
achieve the proper right-alignment seems like the wrong way to
approach this
and that I should be specifying NSTextAlignment in some way when the
string
is drawn.
In addition, paragraph style attributes (NSRightTextAlignment or
NSLineBreakByTruncatingMiddle) seem (perhaps unsurprisingly) to not
apply to
drawAtPoint:withAttributes:.
So why wouldn't you use drawInRect:withAttributes: instead?
_______________________________________________
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