CXTDT-470665 - Button - Text wrapping in two lines

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-10-04 15:31:29 -05:00
parent c6b6fbf0cb
commit 5c85bad48a

View File

@ -116,6 +116,7 @@ open class ButtonBase: UIButton, ViewProtocol, UserInfoable, Clickable {
titleLabel?.adjustsFontSizeToFitWidth = false
titleLabel?.lineBreakMode = .byTruncatingTail
titleLabel?.numberOfLines = 1
}
open func updateView() {