From 07268c106669d91de11909df98e1ae40e8ccbc68 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 8 Aug 2023 12:52:03 -0500 Subject: [PATCH] updated rect Signed-off-by: Matt Bruce --- VDS/Components/Tooltip/TooltipDialog.swift | 5 +++-- VDS/SupportingFiles/ReleaseNotes.txt | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/VDS/Components/Tooltip/TooltipDialog.swift b/VDS/Components/Tooltip/TooltipDialog.swift index 77806e86..ae8aeddd 100644 --- a/VDS/Components/Tooltip/TooltipDialog.swift +++ b/VDS/Components/Tooltip/TooltipDialog.swift @@ -79,6 +79,7 @@ open class TooltipDialog: View, UIScrollViewDelegate { //-------------------------------------------------- open override func setup() { super.setup() + layer.cornerRadius = 8 contentStackView.addArrangedSubview(titleLabel) contentStackView.addArrangedSubview(contentLabel) @@ -208,9 +209,9 @@ open class TooltipDialog: View, UIScrollViewDelegate { lazy var primaryAccessibilityElement = UIAccessibilityElement(accessibilityContainer: self).with { $0.accessibilityLabel = "Tooltip" $0.accessibilityValue = "expanded" - $0.accessibilityFrameInContainerSpace = .init(origin: .zero, size: .init(width: fullWidth, height: 2)) + $0.accessibilityFrameInContainerSpace = .init(origin: .zero, size: .init(width: fullWidth, height: VDSLayout.Spacing.space1X.value)) } - + open override func updateAccessibility() { super.updateAccessibility() diff --git a/VDS/SupportingFiles/ReleaseNotes.txt b/VDS/SupportingFiles/ReleaseNotes.txt index c46e1b09..d01a5f52 100644 --- a/VDS/SupportingFiles/ReleaseNotes.txt +++ b/VDS/SupportingFiles/ReleaseNotes.txt @@ -1,3 +1,8 @@ +1.0.37 +======= +- ONEAPP-4684 - Update Accessibility for Tooltip +- Fixed bug in Typography TitleLarge letterSpacing + 1.0.36 ======= - Fixed bugs in Typography Definitions