Thread Tools Display Modes
Prev Previous Post   Next Post Next
05/21/14, 04:55 PM   #1
Tar000un
 
Tar000un's Avatar
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 47
Move a control from lua

Hi,

from http://www.esoui.com/forums/showthread.php?t=1541

i ve a lua code like the Clear / SetAnchor,

Code:
AddOnUI:ClearAnchors();
AddOnUI:SetAnchor( TOPLEFT, GuiRoot, TOPLEFT, 0, 0);
I ve also other control in. A texture and a label, with and anchorfill in a backdrop. I tryed to clear / set the backdrop without any success.

As exemple, see 1.2.{3.1,3.2}. Where 2:SetAnchor( _, 1, _,_,_);
I clear from 3.2, then 3.1, then 2, then 1 and reset in the first order.

But that works once and after my UI get bad offset (typically, my label go to the cursor), and UI's position isnt reset.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Move a control from lua


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off