Wowpedia
Advertisement
Wowpedia
240,483
pages

Resizes the GameTooltip border and background around its content.

GameTooltip:SetPadding(right, bottom [, left, top])

Arguments

right, bottom, left, top 
number - Positive values expand the border and negative values shrink it (default: 0).

Example

GameTooltip:SetPadding(16, 0)

Patch changes

External links

References

 
  1. ^ Kaivax 2019-06-19. UI Changes in Rise of Azshara.
  2. ^ gmarco 2016-10-28. Wow Interface: 7.1 LUA api changes.
  3. ^ Calls to SetPadding() inside GameTooltip_CalculatePadding() since Patch 7.2.0 at GameTooltip.lua:152 (archived by Foxlit at Townlong Yak)
Advertisement