user defaults font size
This commit is contained in:
parent
c6622f7548
commit
40c15decb6
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue