make fontsize configurable

This commit is contained in:
shagu
2016-08-04 18:36:35 +02:00
parent 199ece3bb3
commit 4d436292d0
16 changed files with 61 additions and 58 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ pfUI:RegisterModule("targettarget", function ()
pfUI.uf.targettarget.power.bar:SetValue(100)
pfUI.uf.targettarget.hp.text = pfUI.uf.targettarget.hp.bar:CreateFontString("Status", "LOW", "GameFontNormal")
pfUI.uf.targettarget.hp.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\homespun.ttf", 8, "OUTLINE")
pfUI.uf.targettarget.hp.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\homespun.ttf", pfUI_config.global.font_size - 2, "OUTLINE")
pfUI.uf.targettarget.hp.text:ClearAllPoints()
pfUI.uf.targettarget.hp.text:SetAllPoints(pfUI.uf.targettarget.hp.bar)
pfUI.uf.targettarget.hp.text:SetPoint("CENTER", 0, 0)