WoW:API GameTooltip SetPadding: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(New page: {{widgetmethod}} __NOTOC__ Sets the amount of padding on the righthand side of the GameTooltip. GameTooltip:SetPadding( padAmount ) == Arguments == :; padAmount : Number - The amount ...)
 
m (Move page script moved page API GameTooltip SetPadding to API GameTooltip SetPadding without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

Widget API ← GameTooltip < SetPadding


Sets the amount of padding on the righthand side of the GameTooltip.

GameTooltip:SetPadding( padAmount )


Arguments[edit]

padAmount
Number - The amount of padding (black space) to put on the right hand side of the tooltip.


Returns[edit]

nil


Example[edit]

GameTooltip:SetPadding( 16 )

Notes[edit]

Currently only used by ItemRefTooltip to make room for its close button.