- Fixed the size of the right margin on tooltips.

This commit is contained in:
Tercioo
2016-01-14 16:43:33 -02:00
parent 76fb7725a1
commit 78a54ad87d
5 changed files with 17 additions and 13 deletions
+3
View File
@@ -67,6 +67,7 @@ function DF:CreateCoolTip()
--options table
CoolTip.OptionsList = {
["RightTextMargin"] = true,
["IconSize"] = true,
["HeightAnchorMod"] = true,
["WidthAnchorMod"] = true,
@@ -652,6 +653,8 @@ function DF:CreateCoolTip()
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