Subject: Re: NSTextView changes font

Gah, that sucks. Could you reply to the list and say this didn't do it? I
already deleted the original message... :(

Mark Teagarden wrote:
>  
> Yeah, I saw that too.  I tried it - no joy.  I'll keep studying.
> 
> 
> On 3/10/08 10:32 AM, "John Stiles" <[EMAIL PROTECTED]>
> <mailto:[EMAIL PROTECTED]>  wrote:
> 
>   
>  
>>  
>> Well, one guy wrote back with this:
>> 
>> - (void)awakeFromNib {
>>     [textview setFont:[NSFont systemFontOfSize:36.0]];
>>     [textview setRichText:NO];
>>     [textview setUsesFontPanel:NO];
>> }
>> 
>> Didn't test it yet though.
>> 
>> 
>> 
>> Mark Teagarden wrote:
>>     
>>  
>>>  
>>> Hey John,
>>> 
>>> Did you ever find a satisfactory resolution to your problem?  From
>>> reading the list, I'd say no.  I'm having a similar problem, except I
>>> have a non-editable NSTextView that I am writing information to, like
>>> a heads-up display.  I'm having no luck setting the default font,
>>> color, etc.  Another weird problem I have is that when I dragged the
>>> NSTextView object onto my window in IB and open the inspector, it
>>> doesn't list any of the attributes you mentioned like Rich text etc.
>>> It just gives me Focus Ring, and that's it.
>>> 
>>> Anyhow, just wanted to know if you'd had any luck.  It seems like this
>>> sort of thing ought to be perfectly straightforward.
>>> 
>>> Mark

_______________________________________________

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