Sets the amount of space between tooltip's text and its right-side edge. Used in the default UI's ItemRefTooltip to provide space for a close button.

Signature:

GameTooltip:SetPadding(padding)

Arguments:

  • padding - Amount of space between the right-side edge of the tooltip's text and the right-side edge of the tooltip frame (in pixels) (number)