firstrun: user proper text layout

This commit is contained in:
shagu
2018-11-03 11:05:18 +01:00
parent 065a050a61
commit d8664c4bd9
+4 -2
View File
@@ -68,10 +68,12 @@ pfUI:RegisterModule("firstrun", function ()
CreateBackdrop(f, nil, nil, .85)
-- text
f.text = f:CreateFontString("Status", "LOW", "GameFontNormal")
f.text = f:CreateFontString("Status", "OVERLAY", "GameFontNormal")
f.text:SetFontObject(GameFontWhite)
f.text:SetJustifyV("TOP")
f.text:SetJustifyH("CENTER")
f.text:SetPoint("TOPLEFT", f, "TOPLEFT", 10, -10)
f.text:SetPoint("TOPRIGHT", f, "TOPRIGHT", -10, -10)
f.text:SetPoint("BOTTOMRIGHT", f, "BOTTOMRIGHT", -10, 10)
f.progress = CreateFrame("StatusBar", nil, f)
f.progress:SetPoint("BOTTOMLEFT", 100, 10)