user defaults font size

This commit is contained in:
Jeena 2014-01-21 23:59:20 +01:00
parent c6622f7548
commit 40c15decb6

View file

@ -31,7 +31,7 @@
- (void)windowControllerDidLoadNib:(NSWindowController *)aController
{
[super windowControllerDidLoadNib:aController];
[self.textView setFont:[NSFont userFixedPitchFontOfSize:16]];
[self.textView setFont:[NSFont userFixedPitchFontOfSize:[[NSUserDefaults standardUserDefaults] integerForKey:@"fontSize"]]];
// Add any code here that needs to be executed once the windowController has loaded the document's window.
}