Merge pull request #724 from Flamanis/JustifyV-fix

Use middle on all justifyV
This commit is contained in:
Tercio Jose
2024-05-07 19:54:36 -03:00
committed by GitHub
2 changed files with 3 additions and 7 deletions
+1 -5
View File
@@ -461,11 +461,7 @@ detailsFramework.TextEntryCounter = detailsFramework.TextEntryCounter or 1
end
self:SetJustifyH("left")
if detailsFramework.IsCataWow() then
self:SetJustifyV("middle")
else
self:SetJustifyV("center")
end
self:SetJustifyV("middle")
self:SetTextInsets(18, 14, 0, 0)
local magnifyingGlassTexture = self:CreateTexture(nil, "OVERLAY")
@@ -1776,7 +1776,7 @@ local compare_create = function(tab, frame)
noPLayersToShow:SetText("There's no more players to compare (with the same class/spec)")
noPLayersToShow:SetSize(spell_compare_frame_width[2] - 10, spell_compare_frame_height)
noPLayersToShow:SetJustifyH("center")
noPLayersToShow:SetJustifyV ("center")
noPLayersToShow:SetJustifyV ("middle")
Details.gump:SetFontSize(noPLayersToShow, 14)
Details.gump:SetFontColor(noPLayersToShow, "gray")
frame2.NoPLayersToShow = noPLayersToShow
@@ -1840,7 +1840,7 @@ local compare_create = function(tab, frame)
noPLayersToShow:SetText("There's no more players to compare (with the same class/spec)")
noPLayersToShow:SetSize(spell_compare_frame_width[2] - 10, spell_compare_frame_height)
noPLayersToShow:SetJustifyH("center")
noPLayersToShow:SetJustifyV ("center")
noPLayersToShow:SetJustifyV ("middle")
Details.gump:SetFontSize(noPLayersToShow, 14)
Details.gump:SetFontColor(noPLayersToShow, "gray")
frame3.NoPLayersToShow = noPLayersToShow