fix label with internal button clickeable rect
This commit is contained in:
parent
cc4fd0a1f9
commit
c1318adcc5
@ -50,7 +50,8 @@
|
||||
[textStorage addLayoutManager:layoutManager];
|
||||
|
||||
NSTextContainer *textContainer = [[NSTextContainer alloc] initWithSize:self.bounds.size];
|
||||
textContainer.lineFragmentPadding = 0;
|
||||
// commenting out for after ios 10. keep this commented code for future references and monitoring
|
||||
//textContainer.lineFragmentPadding = 0;
|
||||
textContainer.lineBreakMode = self.lineBreakMode;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user