From 01fcc57ba2fae8454bc7743108e20ef6fdfb7739 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 31 Jan 2024 14:40:07 -0600 Subject: [PATCH] updated textLinkCaret to allow word wrapping Signed-off-by: Matt Bruce --- VDS/Components/Buttons/TextLinkCaret/TextLinkCaret.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/VDS/Components/Buttons/TextLinkCaret/TextLinkCaret.swift b/VDS/Components/Buttons/TextLinkCaret/TextLinkCaret.swift index fd990720..aaa9f3cb 100644 --- a/VDS/Components/Buttons/TextLinkCaret/TextLinkCaret.swift +++ b/VDS/Components/Buttons/TextLinkCaret/TextLinkCaret.swift @@ -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.