Hard to say from the vague description, but I'd say that having one text view 
per line is probably a bad idea.

You could have one text view, set the text right-align (NSParagraphStyle on 
NSAttributesString/NSTextStorage) then set the line spacing to space the lines 
how you want, but on the other hand if it's more like a table perhaps a table 
view might be the way to go. Finally you could just draw the lines of text in a 
single view. It all depends...

--Graham




On 04/05/2011, at 7:06 PM, Дмитрий Николаев wrote:

> Hello!
> 
> Does using many NSTextView is good strategy for several separated text lines ?
> 
> I need draw text right-aligned and calculate width for each line.
> 
> 

_______________________________________________

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 arch...@mail-archive.com

Reply via email to