updated textLinkCaret to allow word wrapping
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
4e0832fa64
commit
01fcc57ba2
@ -80,6 +80,8 @@ open class TextLinkCaret: ButtonBase {
|
|||||||
open override func setup() {
|
open override func setup() {
|
||||||
super.setup()
|
super.setup()
|
||||||
accessibilityTraits = .link
|
accessibilityTraits = .link
|
||||||
|
titleLabel?.numberOfLines = 0
|
||||||
|
titleLabel?.lineBreakMode = .byWordWrapping
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Used to make changes to the View based off a change events or from local properties.
|
/// Used to make changes to the View based off a change events or from local properties.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user