The NSTextField
shrinks slightly if NSLineBreakByTruncatingTail
is set as the line break mode without adding ellipses. Can this be prevented somehow? In iOS you can do this but I can't find a way on the Mac.
Asked
Active
Viewed 179 times
0

strangetimes
- 4,953
- 1
- 34
- 62
1 Answers
1
Found the solution. Simply setAllowsDefaultTighteningForTruncation
to YES on the NSMutableParagraphStyle

strangetimes
- 4,953
- 1
- 34
- 62