From ea60bd142ddc90389fa9902d170a15e15c1a4a92 Mon Sep 17 00:00:00 2001 From: "Hedden, Kyle Matthew" Date: Thu, 30 May 2024 18:38:35 -0400 Subject: [PATCH] Digital PCT265 defect DE307-545: Adjust line truncation to use ellipsis for cases where the numberOfLines is limited. --- VDS/Components/Label/Label.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDS/Components/Label/Label.swift b/VDS/Components/Label/Label.swift index 9e4dd18e..b3130abe 100644 --- a/VDS/Components/Label/Label.swift +++ b/VDS/Components/Label/Label.swift @@ -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