Digital PCT265 defect DE307-545: Adjust line truncation to use ellipsis for cases where the numberOfLines is limited.

This commit is contained in:
Hedden, Kyle Matthew 2024-05-30 18:38:35 -04:00
parent 0d8b0ab79e
commit ea60bd142d

View File

@ -204,7 +204,7 @@ open class Label: UILabel, ViewProtocol, UserInfoable {
}.store(in: &subscribers)
backgroundColor = .clear
numberOfLines = 0
lineBreakMode = .byWordWrapping
lineBreakMode = .byTruncatingTail
translatesAutoresizingMaskIntoConstraints = false
accessibilityCustomActions = []
isAccessibilityElement = true