ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   An Error involve "two anchors" (https://www.esoui.com/forums/showthread.php?t=9100)

Akopian Atrebates 04/24/20 01:46 AM

An Error involve "two anchors"
 
Getting the following error. I have an idea of where to look, but I am wondering if any of you have some special insight as to why this occurs. I presume it has to do with addons both trying to do the same thing, but I wonder if there is more to it than that.

Control [ZO_PlayerAttributeHealth] already has two anchors, adding another will have no effect.

sirinsidiator 04/24/20 04:03 AM

This often happens when someone tries to re-anchor a control without clearing the old anchors first.
E.g. Addon A tells the control to stick to point A with the top-left corner and to point B with the bottom-right. Then Addon B comes along and suddenly tells it to stick to point C with the top-left corner which is ok as it will just override the previous value, but instead of the bottom-right it chooses the top-right corner for point D, which makes the control go "AaaaaaAAAAhh!!! I'm a rectangle! I can't stick to 3 different points like that! What do you want from me?! Leave me alone!!" :D


All times are GMT -6. The time now is 06:14 PM.

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