diff --git a/modules/chat.lua b/modules/chat.lua index 8a96e90c..34dccdcd 100644 --- a/modules/chat.lua +++ b/modules/chat.lua @@ -12,7 +12,7 @@ pfUI:RegisterModule("chat", function () pfUI.chat.left.panelTop = CreateFrame("Frame", "leftChatPanelTop", pfUI.chat.left) pfUI.chat.left.panelTop:ClearAllPoints() - pfUI.chat.left.panelTop:SetHeight(19) + pfUI.chat.left.panelTop:SetHeight(pfUI_config.global.font_size*2) pfUI.chat.left.panelTop:SetPoint("TOPLEFT", pfUI.chat.left, "TOPLEFT", 2, -2) pfUI.chat.left.panelTop:SetPoint("TOPRIGHT", pfUI.chat.left, "TOPRIGHT", -2, -2) pfUI.chat.left.panelTop:SetBackdrop(pfUI.backdrop) @@ -29,7 +29,7 @@ pfUI:RegisterModule("chat", function () pfUI.chat.right.panelTop = CreateFrame("Frame", "rightChatPanelTop", pfUI.chat.right) pfUI.chat.right.panelTop:ClearAllPoints() - pfUI.chat.right.panelTop:SetHeight(19) + pfUI.chat.right.panelTop:SetHeight(pfUI_config.global.font_size*2) pfUI.chat.right.panelTop:SetPoint("TOPLEFT", pfUI.chat.right, "TOPLEFT", 2, -2) pfUI.chat.right.panelTop:SetPoint("TOPRIGHT", pfUI.chat.right, "TOPRIGHT", -2, -2) pfUI.chat.right.panelTop:SetBackdrop(pfUI.backdrop) diff --git a/modules/panel.lua b/modules/panel.lua index c6422338..3226138e 100644 --- a/modules/panel.lua +++ b/modules/panel.lua @@ -176,7 +176,7 @@ pfUI:RegisterModule("panel", function () pfUI.panel.left = CreateFrame("Frame", "pfPanelLeft", pfUI.panel) pfUI.panel.left:ClearAllPoints() - pfUI.panel.left:SetHeight(19) + pfUI.panel.left:SetHeight(pfUI_config.global.font_size*2) pfUI.panel.left:SetPoint("BOTTOMLEFT", pfUI.chat.left, "BOTTOMLEFT", 2, 2) pfUI.panel.left:SetPoint("BOTTOMRIGHT", pfUI.chat.left, "BOTTOMRIGHT", -2, 2) pfUI.panel.left:SetBackdrop(pfUI.backdrop) @@ -240,7 +240,7 @@ pfUI:RegisterModule("panel", function () pfUI.panel.right = CreateFrame("Frame", "pfPanelRight", pfUI.panel) pfUI.panel.right:ClearAllPoints() - pfUI.panel.right:SetHeight(19) + pfUI.panel.right:SetHeight(pfUI_config.global.font_size*2) pfUI.panel.right:SetPoint("BOTTOMLEFT", pfUI.chat.right, "BOTTOMLEFT", 2, 2) pfUI.panel.right:SetPoint("BOTTOMRIGHT", pfUI.chat.right, "BOTTOMRIGHT", -2, 2) pfUI.panel.right:SetBackdrop(pfUI.backdrop) @@ -306,7 +306,7 @@ pfUI:RegisterModule("panel", function () pfUI.panel.minimap:SetBackdrop(pfUI.backdrop) pfUI.panel.minimap:SetPoint("TOPRIGHT",UIParent, -5, -7 - Minimap:GetHeight()) pfUI.utils:loadPosition(pfUI.panel.minimap) - pfUI.panel.minimap:SetHeight(20) + pfUI.panel.minimap:SetHeight(pfUI_config.global.font_size * 2) pfUI.panel.minimap:SetWidth(Minimap:GetWidth()) pfUI.panel.minimap:SetFrameStrata("BACKGROUND") pfUI.panel.minimap.text = pfUI.panel.minimap:CreateFontString("MinimapZoneText", "LOW", "GameFontNormal") diff --git a/modules/uf_tukui.lua b/modules/uf_tukui.lua index 37e06f40..2303b08e 100644 --- a/modules/uf_tukui.lua +++ b/modules/uf_tukui.lua @@ -2,7 +2,7 @@ pfUI:RegisterModule("uf_tukui", function () if pfUI_config.unitframes.layout == "tukui" then pfUI.uf.player.caption = CreateFrame("Frame",nil, pfUI.uf.player) pfUI.uf.player.caption:SetBackdrop(pfUI.backdrop) - pfUI.uf.player.caption:SetHeight(18) + pfUI.uf.player.caption:SetHeight(pfUI_config.global.font_size * 2) pfUI.uf.player.caption:SetPoint("TOPRIGHT",pfUI.uf.player,"BOTTOMRIGHT",0,-1) pfUI.uf.player.caption:SetPoint("TOPLEFT",pfUI.uf.player,"BOTTOMLEFT",0,-1) @@ -14,7 +14,7 @@ pfUI:RegisterModule("uf_tukui", function () pfUI.uf.target.caption = CreateFrame("Frame",nil, pfUI.uf.target) pfUI.uf.target.caption:SetBackdrop(pfUI.backdrop) - pfUI.uf.target.caption:SetHeight(18) + pfUI.uf.target.caption:SetHeight(pfUI_config.global.font_size * 2) pfUI.uf.target.caption:SetPoint("TOPRIGHT",pfUI.uf.target,"BOTTOMRIGHT",0,-1) pfUI.uf.target.caption:SetPoint("TOPLEFT",pfUI.uf.target,"BOTTOMLEFT",0,-1)