diff options
author | Damiano Galassi <[email protected]> | 2015-10-19 17:57:49 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-19 17:57:49 +0200 |
commit | 333a81d49982c504bbc3ba7bcb88787442a3a8c4 (patch) | |
tree | 2136c41bfb66fd26578b5305f39ec9a6637e9282 /macosx/HBJob+UIAdditions.m | |
parent | e5b59be057da16e782d970e41299d78beef9e878 (diff) |
MacGui: improved queue with undo/redo support for adding/removing jobs, and added a icon for failed encode.
Diffstat (limited to 'macosx/HBJob+UIAdditions.m')
-rw-r--r-- | macosx/HBJob+UIAdditions.m | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m index 7eae8a773..c7a7fec1f 100644 --- a/macosx/HBJob+UIAdditions.m +++ b/macosx/HBJob+UIAdditions.m @@ -84,10 +84,10 @@ static NSDictionary *shortHeightAttr; [ps setTabStops:@[]]; // clear all tabs [ps addTabStop: [[NSTextTab alloc] initWithType: NSLeftTabStopType location: 20.0]]; - detailAttr = @{NSFontAttributeName: [NSFont systemFontOfSize:10.0], + detailAttr = @{NSFontAttributeName: [NSFont systemFontOfSize:[NSFont smallSystemFontSize]], NSParagraphStyleAttributeName: ps}; - detailBoldAttr = @{NSFontAttributeName: [NSFont boldSystemFontOfSize:10.0], + detailBoldAttr = @{NSFontAttributeName: [NSFont boldSystemFontOfSize:[NSFont smallSystemFontSize]], NSParagraphStyleAttributeName: ps}; titleAttr = @{NSFontAttributeName: [NSFont systemFontOfSize:[NSFont systemFontSize]], @@ -474,7 +474,9 @@ static NSDictionary *shortHeightAttr; i++; } } - + + [finalString deleteCharactersInRange:NSMakeRange(finalString.length - 1, 1)]; + return finalString; } |