Merge pull request #724 from Flamanis/JustifyV-fix
Use middle on all justifyV
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user