Widget API: GameTooltip:SetPadding

From AddOn Studio
Jump to navigation Jump to search

Widget API ← GameTooltip < SetPadding


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

GameTooltip:SetPadding( padAmount )


Arguments

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


Returns

nil


Example

GameTooltip:SetPadding( 16 )

Notes

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