Font Size

mrjohns

Registered
Ok well this maybe a stupid question.

what do you call in cocoa to change the size of text in a NSTextField i.e I don't really care what the font is I just want to make sure its 18 point. I want to do this programatically to. i.e not make the user pick a size.
 
If your NSTextView is actually in IB, then you can remove the Font Panel from whatever menu it is in now so users can't access it. If you still want them to be able to change the Font, you may need to build your own Font Panel.

As for the size, double click on your NSTextView and select the size from the Font Panel. I forget what menu it's in (I'm not at home, and on a PC :( ), but I think it is Format.
 
Back
Top