Open timerainv7 opened 8 months ago
I am unfortunately not an expert in lua but I think it could be the following place, there the 9 should be the size of the font.
https://github.com/bkader/TidyPlates_WoTLK/blob/main/TidyPlates/widgets/DebuffWidget.lua#L698
Edit: I have tried this and it is the right place. Here I have changed the 9 to a 20.
Personally, I have changed the whole function a little so that the symbols no longer look so pressed but square. Here is the code I use.
local function CreateAuraIconFrame(parent)
local frame = CreateFrame("Frame", nil, parent)
frame:SetWidth(25)
frame:SetHeight(25)
-- Icon
frame.Icon = frame:CreateTexture(nil, "BACKGROUND")
frame.Icon:SetAllPoints(frame)
frame.Icon:SetTexCoord(0.1, 0.9, 0.1, 0.9)
-- frame.Icon:SetTexCoord(.07, 1 - .07, .23, 1 - .23) -- obj:SetTexCoord(left,right,top,bottom)
-- Border
frame.Border = frame:CreateTexture(nil, "ARTWORK")
frame.Border:SetWidth(32)
frame.Border:SetHeight(32)
frame.Border:SetPoint("CENTER", 1, -2)
frame.Border:SetTexture(AuraBorderArt)
-- Glow
frame.Glow = frame:CreateTexture(nil, "ARTWORK")
frame.Glow:SetAllPoints(frame.Border)
frame.Glow:SetTexture(AuraGlowArt)
-- Time Text
frame.TimeLeft = frame:CreateFontString(nil, "OVERLAY")
frame.TimeLeft:SetFont(AuraFont, 9, "OUTLINE")
frame.TimeLeft:SetShadowOffset(1, -1)
frame.TimeLeft:SetShadowColor(0, 0, 0, 1)
frame.TimeLeft:SetPoint("RIGHT", 0, 8)
frame.TimeLeft:SetWidth(25)
frame.TimeLeft:SetHeight(27)
frame.TimeLeft:SetJustifyH("RIGHT")
-- Stacks
frame.Stacks = frame:CreateFontString(nil, "OVERLAY")
frame.Stacks:SetFont(AuraFont, 10, "OUTLINE")
frame.Stacks:SetShadowOffset(1, -1)
frame.Stacks:SetShadowColor(0, 0, 0, 1)
frame.Stacks:SetPoint("RIGHT", 0, -6)
frame.Stacks:SetWidth(25)
frame.Stacks:SetHeight(27)
frame.Stacks:SetJustifyH("RIGHT")
-- Information about the currently displayed aura
frame.AuraInfo = {Name = "", Icon = "", Stacks = 0, Expiration = 0, Type = ""}
--frame.Poll = UpdateWidgetTime
frame.Poll = parent.PollFunction
frame:Hide()
return frame
end
hi, I want to make the number of debuff bigger,but there is no options to change it . how can I change font size? may be in code? But I dont know how to edit code. Please tell me how to do Thx