- Fixed the size of the right margin on tooltips.
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
@@ -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
@@ -1,5 +1,5 @@
|
||||
|
||||
local dversion = 15
|
||||
local dversion = 16
|
||||
local major, minor = "DetailsFramework-1.0", dversion
|
||||
local DF, oldminor = LibStub:NewLibrary (major, minor)
|
||||
|
||||
|
||||
@@ -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]])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user