View Single Post
05-11-08, 10:44 PM   #1
Everglow
An Aku'mai Servant
 
Everglow's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 36
Displaying text in option dialog

Can anyone help with this? I would like to display some text in my option window, but it doesn't want to appear. I have this in my xml:

Code:
 
<Layer level="OVERLAY">
   <FontString inherits="GameFontNormal" text="Save Views">
       <Anchors>
          <Anchor point="TOP" relativeTo="$parent">
             <Offset><AbsDimension x="0" y="-2"/></Offset>
          </Anchor>
       </Anchors>
   </FontString>
   <FontString name="CombatCamInfoText" inherits="GameFontNormal" justifyH="LEFT" outline="THIN">
       <Anchors>
          <Anchor point="TOPLEFT" relativeTo="$parent">
             <Offset><AbsDimension x="25" y="-85"/></Offset>
          </Anchor>
      </Anchors>
      <Color r="0.0" g="0.9" b="1.0"/>
   </FontString>
</Layer>
And I set the text like this in my OnLoad handler:
Code:
CombatCamInfoText.SetWidth("175")
CombatCamInfoText.SetText( 
  "Instructions:\n"..
  "blah blah blah...."..
  "Slash commands:\n"..
  "blah blah blah...")
The Title ("Save Views") shows, but not the InfoText. Any help will be appreciated. I would prefer insight on why it isn't working over suggestions for completely different ways of doing it. Thanks
__________________
Everglow - Sisters of Elune/US
  Reply With Quote