On Thu, Aug 14, 2008 at 11:31 AM, MF <[EMAIL PROTECTED]> wrote:
> Hello!

Howdy.

> I tried to draw strings in the center of a rectangle. While it's alright to
> execute the code, and the font is correctly shown, the alignment is wrong.
> (still on the left side...)

...

> [NSDictionary dictionaryWithObjectsAndKeys: font, NSFontAttributeName,
> style,NSFontAttributeName,nil];

That second key should be NSParagraphStyleAttributeName.

sherm--

-- 
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________

Cocoa-dev mailing list ([email protected])

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