View Single Post
04/15/14, 10:21 AM   #6
zireko
 
zireko's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 63
Ok I think I understand. So I've updated the code again. How does it look now?

Lua Code:
  1. <GuiXml>
  2.     <Controls>
  3.         <TopLevelControl name="QuestMaster" mouseEnabled="true" movable="true">
  4.             <Dimensions x="300" y="400" />
  5.             <Anchor point="CENTER" />        
  6.  
  7.             <OnMouseDown>
  8.                 QuestMasterReset()
  9.             </OnMouseDown>
  10.  
  11.             <Controls>
  12.                 <Backdrop name="$(parent)BG" inherits="ZO_ThinBackdrop" />
  13.                 <Label name="$(parent)quest1" font="ZoFontAnnounceSmall" color="CFDCBD" wrapMode="ELLIPSIS" verticalAlignment="CENTER" text="A Pinch of Sugar">
  14.                     <AnchorFill />
  15.                 </Label>
  16.                 <Label name="$(parent)quest2" font="ZoFontWindowSmall" color="CFDCBD" wrapMode="ELLIPSIS" verticalAlignment="CENTER" text="Cast Adrift">
  17.                     <AnchorFill />
  18.                 </Label>
  19.             </Controls>
  20.         </TopLevelControl>
  21.     </Controls>
  22. </GuiXml>
  Reply With Quote