Widget API: GameTooltip:SetPadding

Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API GameTooltip SetPadding to API GameTooltip SetPadding without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Widget API ← GameTooltip < SetPadding


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

GameTooltip:SetPadding( padAmount )


ArgumentsEdit

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


ReturnsEdit

nil


ExampleEdit

GameTooltip:SetPadding( 16 )

NotesEdit

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