Wikia

WoWWiki

API GameTooltip SetPadding

Talk0
101,311pages on
this wiki
Revision as of 00:03, July 15, 2008 by Charibot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Widget API


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.

Around Wikia's network

Random Wiki