Prevent auto layout from messing with our labels even though we told it not to.

This commit is contained in:
Maurice Parker
2019-04-22 11:49:22 -05:00
parent 5b75add585
commit cd9a48d4b5
4 changed files with 25 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ class MasterTableViewCell : UITableViewCell {
}
private let titleView: UILabel = {
let label = UILabel()
let label = NonIntrinsicLabel()
label.numberOfLines = 1
label.lineBreakMode = .byTruncatingTail
label.allowsDefaultTighteningForTruncation = false