Because the xml doc is a ****ing pain for newbs (specially for non-english person, like me...) :
I used a LUA code to create xml node but that dont really answer my needs and arranging the vars in a table seems a source of UI's errors.
example here about the LUA code :
https://code.google.com/p/zork-esoui...extureTest.lua
But after few tests, to find how to place the nodes, i got a solution ! A sample of my new xml :
Code:
<Controls>
<Backdrop name="$(parent)_BG" inherits="ZO_CenterlessBackdrop"
edgeColor="000000" centerColor="000000" alpha="0">
<AnchorFill />
</Backdrop>
<Texture name="$(parent)_Texture" />
<Label name="$(parent)_Label" font="ZoFontGameLarge"
verticalAlignment="BOTTOM" horizontalAlignment="CENTER"
text="MyAddon" alpha="0.5" >
</Label>
</Controls>
Which is filled by the code :
Code:
AddOnUI_Texture:SetDimensions( 128, 128);
AddOnUI_Texture:SetAnchor(TOPLEFT, AddOnUI_BG, TOPLEFT, 0, 0);
AddOnUI_Texture:SetTexture(MyTexture);
AddOnUI_Label:SetDimensions( 128, 20);
AddOnUI_Label:SetAnchor(BOTTOM, AddOnUI_BG, BOTTOM, 0, 0);
AddOnUI_Label:SetText("The Label");