Originally Posted by Lombra
Font strings are not "frames", but "regions", and they're created differently, using frame:CreateFontString().
Frames are essentially no more than anchor points as far as visuals go. You need to somehow use textures to get something visible.
|
Thank you for guidance, I changed code to following:
Code:
f = RecommendOptionsFrame:CreateFontString("abc", "OVERLAY", "GameFontNormal")
f:Show()
f:SetText("12345555664dfgfdg")
However, text doesn't apear on frame
Same XML code works perfectly
Code:
<Layers>
<Layer level="OVERLAY">
<FontString name="OptionsString" inherits="GameFontNormal" text="Recommend options">
</FontString>
</Layer>
</Layers>