From d77e1abc34f86054ad2f38992e47a33d798cc15d Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 2 May 2023 09:20:53 -0500 Subject: [PATCH] updated with tooltip size change Signed-off-by: Matt Bruce --- VDS/Components/Label/Attributes/TooltipLabelAttribute.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDS/Components/Label/Attributes/TooltipLabelAttribute.swift b/VDS/Components/Label/Attributes/TooltipLabelAttribute.swift index e6047dd0..aed3556a 100644 --- a/VDS/Components/Label/Attributes/TooltipLabelAttribute.swift +++ b/VDS/Components/Label/Attributes/TooltipLabelAttribute.swift @@ -45,7 +45,7 @@ public class TooltipLabelAttribute: ActionLabelAttributeModel, TooltipLaunchable attributedString.insert(NSAttributedString(string: spaceForTooltip), at: location) //create the frame in which to hold the icon - let frame = CGRect(x: 0, y: 0, width: size.dimensions.width, height: size.dimensions.width) + let frame = CGRect(x: 0, y: 0, width: size.value.dimensions.width, height: size.value.dimensions.width) //create the image icon and match the color of the text let tooltipAttribute = ImageLabelAttribute(location: location + middle,