- 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
+4 -2
View File
@@ -9,13 +9,15 @@ Libs\libs.xml
#@end-no-lib-strip@
locales\Details-enUS.lua
locales\Details-ptBR.lua
locales\Details-deDE.lua
locales\Details-esES.lua
locales\Details-esMX.lua
locales\Details-deDE.lua
locales\Details-frFR.lua
locales\Details-itIT.lua
locales\Details-koKR.lua
locales\Details-ptBR.lua
locales\Details-ruRU.lua
locales\Details-zhCN.lua
locales\Details-zhTW.lua
boot.lua
+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
+1 -1
View File
@@ -1,5 +1,5 @@
local dversion = 15
local dversion = 16
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary (major, minor)
+7 -10
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -1322,6 +1322,8 @@
GameCooltip:SetOption ("RightBorderSize", 8)
GameCooltip:SetOption ("ButtonsYMod", 4)
GameCooltip:SetOption ("RightTextMargin", 0)
GameCooltip:SetOption ("MinWidth", _math_max (230, self.baseframe:GetWidth()*0.9))
GameCooltip:SetOption ("StatusBarTexture", [[Interface\AddOns\Details\images\bar_background]])