mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 13:00:50 +00:00
firstrun: user proper text layout
This commit is contained in:
@@ -68,10 +68,12 @@ pfUI:RegisterModule("firstrun", function ()
|
|||||||
CreateBackdrop(f, nil, nil, .85)
|
CreateBackdrop(f, nil, nil, .85)
|
||||||
|
|
||||||
-- text
|
-- text
|
||||||
f.text = f:CreateFontString("Status", "LOW", "GameFontNormal")
|
f.text = f:CreateFontString("Status", "OVERLAY", "GameFontNormal")
|
||||||
f.text:SetFontObject(GameFontWhite)
|
f.text:SetFontObject(GameFontWhite)
|
||||||
|
f.text:SetJustifyV("TOP")
|
||||||
|
f.text:SetJustifyH("CENTER")
|
||||||
f.text:SetPoint("TOPLEFT", f, "TOPLEFT", 10, -10)
|
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 = CreateFrame("StatusBar", nil, f)
|
||||||
f.progress:SetPoint("BOTTOMLEFT", 100, 10)
|
f.progress:SetPoint("BOTTOMLEFT", 100, 10)
|
||||||
|
|||||||
Reference in New Issue
Block a user