Equalize class header top/bottom spacing on Classes tab

Both margins were mismatched (4px top, 34px bottom); set to 19px each
for a balanced header.
This commit is contained in:
2026-07-08 00:44:43 +02:00
parent 8c8362f75e
commit 5bbbcc7b5d
+3 -3
View File
@@ -102,8 +102,8 @@ classContent:SetPoint("TOPLEFT", contentBox, "TOPLEFT", 12, -4)
classContent:SetPoint("BOTTOMRIGHT", contentBox, "BOTTOMRIGHT", -12, 4) classContent:SetPoint("BOTTOMRIGHT", contentBox, "BOTTOMRIGHT", -12, 4)
local classLabelHeader = CreateFrame("Frame", nil, classContent) local classLabelHeader = CreateFrame("Frame", nil, classContent)
classLabelHeader:SetPoint("TOPLEFT", classContent, "TOPLEFT", 0, -4) classLabelHeader:SetPoint("TOPLEFT", classContent, "TOPLEFT", 0, -19)
classLabelHeader:SetPoint("TOPRIGHT", classContent, "TOPRIGHT", 0, -4) classLabelHeader:SetPoint("TOPRIGHT", classContent, "TOPRIGHT", 0, -19)
classLabelHeader:SetHeight(18) classLabelHeader:SetHeight(18)
local classLabel = classLabelHeader:CreateFontString(nil, "ARTWORK", "GameFontNormalLarge") local classLabel = classLabelHeader:CreateFontString(nil, "ARTWORK", "GameFontNormalLarge")
@@ -135,7 +135,7 @@ local checks = {}
local selectedClass = nil local selectedClass = nil
local previousAnchor = classLabelHeader local previousAnchor = classLabelHeader
local previousSpacing = -34 local previousSpacing = -19
local previousXOffset = 16 local previousXOffset = 16
for _, frameName in ipairs(HideCoA.FRAMES) do for _, frameName in ipairs(HideCoA.FRAMES) do