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,