Merge branch 'master' into Progress-bar-colors

This commit is contained in:
Mitch Livingston 2020-04-19 10:18:08 -04:00 committed by GitHub
commit d8e8d89545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,9 @@
NSMutableParagraphStyle * paragraphStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];
[paragraphStyle setAlignment: NSRightTextAlignment];
fAttributes = [[NSDictionary alloc] initWithObjects: @[[NSFont systemFontOfSize: 11.0], paragraphStyle]
forKeys: @[NSFontAttributeName, NSParagraphStyleAttributeName]];
fAttributes = @{NSFontAttributeName: [NSFont systemFontOfSize: 11.0],
NSForegroundColorAttributeName: NSColor.labelColor,
NSParagraphStyleAttributeName: paragraphStyle};
}
[[NSString percentString: [self floatValue] longDecimals: NO] drawInRect: cellFrame withAttributes: fAttributes];