Commits

Anonymous committed 6ab555a

Move [_fileInfoView textContainer] setup to -awakeFromNib

  • Participants
  • Parent commits 34fb5fb

Comments (0)

Files changed (1)

File Source/RepoController.m

     
     _showUnmodifiedFilesIcon = [NSImage imageNamed:@"toolbar_show_unmodified_file.png"];
     _hideUnmodifiedFilesIcon = [NSImage imageNamed:@"toolbar_hide_unmodified_file.png"];
+    
+    [[_fileInfoView textContainer] setContainerSize:NSMakeSize(10000000, 10000000)];
+    [[_fileInfoView textContainer] setWidthTracksTextView:NO];
+    [[_fileInfoView textContainer] setHeightTracksTextView:NO];
+    
 }
 
 - (void)windowDidLoad
             break;
     }
     [_fileInfoView.textStorage setAttributedString: text];
-    [[_fileInfoView textContainer] setContainerSize:NSMakeSize(10000000, 10000000)];
-    [[_fileInfoView textContainer] setWidthTracksTextView:NO];
-    [[_fileInfoView textContainer] setHeightTracksTextView:NO];
     [_fileInfoView setNeedsDisplay: YES];
 }