Re: How to change default font for NSTextView?
Re: How to change default font for NSTextView?
- Subject: Re: How to change default font for NSTextView?
- From: Manfred Lippert <email@hidden>
- Date: Wed, 13 Feb 2002 21:03:11 +0100
>
Given a textview, you can call the NSText method setFont:
Thank you! It works. :-)
I first tried it with [NSFont fontWithName:@"Lucida Grande" size:12]], but
then the line spacing was wrong and my Font Panel does not show Lucida
Grande. (_None_ of the Fonts was selected in the Font Panel.)
Now I use [NSFont systemFontOfSize:12] and this works perfectly and is what
I want.
Thanx,
Mani
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.