Re: Centering an NSAttributedString in a line in a view
Re: Centering an NSAttributedString in a line in a view
- Subject: Re: Centering an NSAttributedString in a line in a view
- From: Matt Neuburg <email@hidden>
- Date: Wed, 19 Jul 2006 11:19:21 -0700
- Thread-topic: Centering an NSAttributedString in a line in a view
On or about 7/19/06 10:50 AM, thus spake "email@hidden"
<email@hidden>:
>> Put an NSLog on your "parsty" as soon as it is set (i.e. before you change
>> it, as it comes from super). I think you'll see right away that you've made
>> an unwarranted and incorrect assumption.
>
> I don't quite follow you ? Before sending my original post, I analized this
> problem with the debugger ( I redid that after your last post, to be sure)
> and it seems that everything goes as planned during the compilation phase.
>
> To quote the debugger :
>
> (gdb) po parsty (*just before the line [parsty setAlignment:
> NSCenterTextAlignment] gets called*)
> Alignment 4
Good, good; and so now, what does "Alignment 4" mean the alignment is...? m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide - Second Edition!
http://www.amazon.com/gp/product/0596102119
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden