Fixed some deprecated api warnings.

This commit is contained in:
Damiano Galassi committed 2016-10-13 10:54:17 +02:00
1 parent 7dcf857660
commit 5083abe3ed
12 files changed
+74 -88

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@
NSMutableParagraphStyle * ps = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];
ps.headIndent = -10.0;
ps.alignment = NSRightTextAlignment;
ps.alignment = NSTextAlignmentRight;
detailBoldAttr = @{NSFontAttributeName: [NSFont boldSystemFontOfSize:[NSFont smallSystemFontSize]],
NSParagraphStyleAttributeName: ps,
NSForegroundColorAttributeName: [NSColor grayColor]};