Thread Tools Display Modes
05/02/14, 08:05 AM   #1
FourOne
 
FourOne's Avatar
Join Date: Mar 2014
Posts: 5
Compass & Compass-text move

Hi there,

i tried to move my compass and it worked, but i dont know what frame is holding the text above.

What i did is:
Code:
ZO_CompassFrame:ClearAnchors()
ZO_CompassFrame:SetAnchor( TOP, GuiRoot, TOP, 0, 6)
The problem is, the text that is normaly shown above the compass is moving with it, so i just need to know what frame it is to move it under the compass. Someone know the frames name?

Best regards,
FourOne.
  Reply With Quote
05/02/14, 08:35 AM   #2
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
You can use the fantasic tool Zgoo to locate control details!
/zgoo <control name>
/zgoo ZO_CompassFrame
Now look at the GetParent return. Zgoo will let drill up to the parent.
  Reply With Quote
05/02/14, 08:48 AM   #3
FourOne
 
FourOne's Avatar
Join Date: Mar 2014
Posts: 5
Well the parent is "GuiRoot" - i want to know the textframe above the compass. It's moving with the compass, so its parent is "ZO_CompassFrame". But i don't know how to get the frames name...

GetChild() = BLACKLISTED
GetNamedChild() = BLACKLISTED

Last edited by FourOne : 05/02/14 at 08:51 AM.
  Reply With Quote
05/02/14, 09:12 AM   #4
Aicam
Join Date: Apr 2014
Posts: 16
under the GetChild() function is a GetChildren() function which expands a list of all children
  Reply With Quote
05/02/14, 09:17 AM   #5
Iyanga
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 183
ZO_CompassCenterOverPinLabel


It's actually a child of ZO_Compass, so no idea what your trouble was
  Reply With Quote
05/02/14, 09:18 AM   #6
FourOne
 
FourOne's Avatar
Join Date: Mar 2014
Posts: 5
Originally Posted by Aicam View Post
under the GetChild() function is a GetChildren() function which expands a list of all children
These two & "Gethandler" are the only that will not expand, for all other it's working.

Originally Posted by Iyanga View Post
ZO_CompassCenterOverPinLabel


It's actually a child of ZO_Compass, so no idea what your trouble was
ty, i just want to move it under the compass.

Last edited by FourOne : 05/02/14 at 09:26 AM.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Compass & Compass-text move

Thread Tools
Display Modes

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