[macruby-changes] [653] MacRuby/trunk/sample-macruby/EmbeddedMacRuby/MyController.m

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 7 16:25:57 PDT 2008


Revision: 653
          http://trac.macosforge.org/projects/ruby/changeset/653
Author:   lsansonetti at apple.com
Date:     2008-10-07 16:25:56 -0700 (Tue, 07 Oct 2008)
Log Message:
-----------
same font for the result view

Modified Paths:
--------------
    MacRuby/trunk/sample-macruby/EmbeddedMacRuby/MyController.m

Modified: MacRuby/trunk/sample-macruby/EmbeddedMacRuby/MyController.m
===================================================================
--- MacRuby/trunk/sample-macruby/EmbeddedMacRuby/MyController.m	2008-10-07 23:23:01 UTC (rev 652)
+++ MacRuby/trunk/sample-macruby/EmbeddedMacRuby/MyController.m	2008-10-07 23:25:56 UTC (rev 653)
@@ -13,7 +13,12 @@
 
 - (void)awakeFromNib
 {
-    [expressionTextView setFont:[NSFont fontWithName:@"Monaco" size:14.0]];
+    NSFont *niceFont;
+    
+    niceFont = [NSFont fontWithName:@"Monaco" size:14.0];
+    [expressionTextView setFont:niceFont];
+    [resultTextView setFont:niceFont];
+    
     [expressionTextView setString:@"(0..42).to_a"];
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20081007/12178ba5/attachment.html 


More information about the macruby-changes mailing list