View Single Post
04-02-15, 02:11 AM   #5
Basil2
An Aku'mai Servant
Join Date: Feb 2015
Posts: 30
Originally Posted by Lombra View Post
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>
  Reply With Quote