- Fixed the size of the right margin on tooltips.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user