CXTDT-470665 - Button - Text wrapping in two lines
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
c6b6fbf0cb
commit
5c85bad48a
@ -116,6 +116,7 @@ open class ButtonBase: UIButton, ViewProtocol, UserInfoable, Clickable {
|
||||
|
||||
titleLabel?.adjustsFontSizeToFitWidth = false
|
||||
titleLabel?.lineBreakMode = .byTruncatingTail
|
||||
titleLabel?.numberOfLines = 1
|
||||
}
|
||||
|
||||
open func updateView() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user