Re: Changing Fonts in NSTexView
Re: Changing Fonts in NSTexView
- Subject: Re: Changing Fonts in NSTexView
- From: Markus Hitter <email@hidden>
- Date: Thu, 11 Jul 2002 08:22:22 +0200
Am Mittwoch den, 10. Juli 2002, um 21:12, schrieb Tom Gray:
I am trying
to set the font (and size) to Monaco. I don't know how to do this.
In InterfaceBuilder, set the default font for the NSTextView.
Then, in your code, use something like
[myTestView setString:textString];
Simply appending characters to the view's content string didn't
work for me unless I entered at least one character in IB into
the view.
HTH,
Markus
P.S.: I've got a very basic Terminal.app which might help you to
start, but probably the idea to use this GNUstep code would be
even easier: just assemble a Project from the source files and
it should work.
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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.