01-20-14, 01:08 PM
|
#5
|
A Murloc Raider
Join Date: Dec 2011
Posts: 5
|
Originally Posted by Malsomnus
I'm almost certain you can achieve that by using :SetWidth().
|
This Is not work
Originally Posted by jaliborc
I think you will need to parent it to a ScrollFrame. There might be other solutions, but I think this is the onyl one.
|
Thx! Great works!
scrollframe = CreateFrame("ScrollFrame")
scrollframe:SetSize(50, 20)
scrollframe:SetPoint("CENTER")
content = CreateFrame("Frame", nil, scrollframe)
content:SetSize(200, 20)
content:SetPoint("CENTER")
text = content:CreateFontString("PlayerHealthPTextFrame", "OVERLAY")
text:SetAllPoints()
text:SetFont("Fonts\\FRIZQT__.TTF", 8, "OUTLINE")
text:SetText("Interface\\GLUES\\MainMenu\\Glues-BlizzardLogo")
text:SetWordWrap(false)
scrollframe:SetScrollChild(content)
|
|
|
|