Add version check for justify.

This commit is contained in:
Flamanis
2024-04-20 11:03:55 -05:00
parent 3e1212a7ec
commit 51445334ed
+5 -1
View File
@@ -460,7 +460,11 @@ detailsFramework.TextEntryCounter = detailsFramework.TextEntryCounter or 1
end
self:SetJustifyH("left")
self:SetJustifyV("middle")
if detailsFramework.IsCataWow() then
self:SetJustifyV("middle")
else
self:SetJustifyV("center")
end
self:SetTextInsets(18, 14, 0, 0)
local magnifyingGlassTexture = self:CreateTexture(nil, "OVERLAY")