• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FW: NSTextView changes font
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: NSTextView changes font


  • Subject: FW: NSTextView changes font
  • From: Mark Teagarden <email@hidden>
  • Date: Mon, 10 Mar 2008 11:09:05 -0500
  • Thread-topic: NSTextView changes font

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@hidden>
> <mailto:email@hidden>  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@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

  • Prev by Date: Re: No parent window for sheets?
  • Next by Date: fileExistsAtPath with * to indicate random
  • Previous by thread: Re: NSTextView changes font
  • Next by thread: NSCollectionView and default selections ...
  • Index(es):
    • Date
    • Thread