Merge pull request #26 in BPHVB/mvm_core from bugfix/boundingRect to develop
* commit 'c1318adcc5e7346239cc94d4c785f1757eb09a06': fix label with internal button clickeable rect
This commit is contained in:
commit
ee628edb23
@ -50,7 +50,8 @@
|
|||||||
[textStorage addLayoutManager:layoutManager];
|
[textStorage addLayoutManager:layoutManager];
|
||||||
|
|
||||||
NSTextContainer *textContainer = [[NSTextContainer alloc] initWithSize:self.bounds.size];
|
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;
|
textContainer.lineBreakMode = self.lineBreakMode;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user