Skip to content

Commit

Permalink
Changed the default font of the text view
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Kosmaczewski committed Jul 28, 2010
1 parent d247f71 commit d52cf2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions GUI/MyDocument.m
Expand Up @@ -67,6 +67,10 @@ - (void)windowControllerDidLoadNib:(NSWindowController *) aController
[self.fragariaEditor setObject:@"Objective-C" forKey:MGSFOSyntaxDefinitionName];
[self.fragariaEditor embedInView:self.editorView];
[self.fragariaEditor setString:self.nibCode];

NSTextView *textView = [self.fragariaEditor objectForKey:ro_MGSFOTextView];
[textView setEditable:NO];
[textView setFont:[NSFont fontWithName:@"Monaco" size:14.0]];
}

- (BOOL)prepareSavePanel:(NSSavePanel *)savePanel
Expand Down
2 changes: 1 addition & 1 deletion GUI/nib2objc-Info.plist
Expand Up @@ -40,7 +40,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.2</string>
<string>1.2.1</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSMainNibFile</key>
Expand Down

0 comments on commit d52cf2f

Please sign in to comment.