updated textLinkCaret to allow word wrapping

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-01-31 14:40:07 -06:00
parent 4e0832fa64
commit 01fcc57ba2

View File

@ -80,6 +80,8 @@ open class TextLinkCaret: ButtonBase {
open override func setup() {
super.setup()
accessibilityTraits = .link
titleLabel?.numberOfLines = 0
titleLabel?.lineBreakMode = .byWordWrapping
}
/// Used to make changes to the View based off a change events or from local properties.