From 6ac09e51ec2f55407272e93ac97627edbbff561e Mon Sep 17 00:00:00 2001 From: Kenny Shields Date: Tue, 11 Feb 2014 07:35:00 -0500 Subject: [PATCH] Add tooltip:GetPadding --- objects/internal/tooltip.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/objects/internal/tooltip.lua b/objects/internal/tooltip.lua index cb89c0b..aaed7fd 100644 --- a/objects/internal/tooltip.lua +++ b/objects/internal/tooltip.lua @@ -332,6 +332,16 @@ function newobject:SetPadding(padding) end +--[[--------------------------------------------------------- + - func: GetPadding() + - desc: gets the tooltip's padding +--]]--------------------------------------------------------- +function newobject:GetPadding() + + return self.padding + +end + --[[--------------------------------------------------------- - func: SetFont(font) - desc: sets the tooltip's font