diff Libs/DF/cooltip.lua @ 30:d1963bd45219

- framework update.
author Tercioo
date Tue, 19 Jan 2016 09:47:24 -0200
parents 5da06cb420d4
children 7944c081e5b4
line wrap: on
line diff
--- a/Libs/DF/cooltip.lua	Sat Jan 02 13:33:05 2016 -0200
+++ b/Libs/DF/cooltip.lua	Tue Jan 19 09:47:24 2016 -0200
@@ -67,6 +67,7 @@
 
 	--options table
 		CoolTip.OptionsList = {
+			["RightTextMargin"] = true,
 			["IconSize"] = true,
 			["HeightAnchorMod"] = true,
 			["WidthAnchorMod"] = true,
@@ -652,6 +653,8 @@
 			menuButton.rightText:SetWidth (0)
 			menuButton.rightText:SetHeight (0)
 
+			menuButton.rightText:SetPoint ("right", menuButton.rightIcon, "left", CoolTip.OptionsTable.RightTextMargin or -3, 0)
+
 			--> set text
 			if (leftTextTable) then