View Single Post
04/04/14, 03:05 PM   #2
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
Originally Posted by skyraker View Post
I have my top level control (and just in case I set my my label control to movable) in my xml file. Yet I cannot get them to move. When I defined the label control inside my lua file it worked fine, but I had to move it back outside for scoping reasons.

Code:
<TopLevelControl name="MyStatusWindow" movable="true">
     <Controls>
          <Label name="toolText" font="MyStatWinFont3" color="FFFFFF" movable="true">
               <AnchorFill />
          </Label>
</Controls>
Tell it you want use the mouse to move them. The attribute is mouseEnabled="true"
  Reply With Quote