ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Compass & Compass-text move (https://www.esoui.com/forums/showthread.php?t=1325)

FourOne 05/02/14 08:05 AM

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.

Halja 05/02/14 08:35 AM

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. :)

FourOne 05/02/14 08:48 AM

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...

Quote:

GetChild() = BLACKLISTED
GetNamedChild() = BLACKLISTED

Aicam 05/02/14 09:12 AM

under the GetChild() function is a GetChildren() function which expands a list of all children

Iyanga 05/02/14 09:17 AM

ZO_CompassCenterOverPinLabel


It's actually a child of ZO_Compass, so no idea what your trouble was :)

FourOne 05/02/14 09:18 AM

Quote:

Originally Posted by Aicam (Post 6710)
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.

Quote:

Originally Posted by Iyanga (Post 6711)
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.


All times are GMT -6. The time now is 02:36 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI