Originally Posted by Garkin
How your xml looks like? It should be something like this:
xml Code:
<GuiXml> <Controls> <Control name="EventExplorerRow" virtual="true"> <Dimensions y="45"/> <Controls> <Label name="$(parent)Id" font="ZoFontGame" horizontalAlignment="RIGHT"> <Anchor point="RIGHT" relativePoint="LEFT" offsetX="50"/> </Label> <Label name="$(parent)Name" font="ZoFontGame"> <Anchor point="LEFT" relativeTo="$(parent)Id" relativePoint="RIGHT" offsetX="20"/> </Label> </Controls> </Control> <TopLevelControl name="EventExplorerWindow" mouseEnabled="true" movable="true" clampedToScreen="true" hidden="true"> <Dimensions x="760" y="650" /> <Anchor point="CENTER" /> <Controls> <Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop" /> </Controls> </TopLevelControl> </Controls> </GuiXml>
There is no UI error with this .xml file.
|
I think I get it. The template was not properly put into <GuiXml> and <Controls> Tags. Hence the template was never properly read and could not be found
After solving this issues and some minor issue with the retreival of data I have anotehr issue:
Nothing is shown in the window. I double checked by giving the lables text and putting d(row) into the code - it is executed and the items are created. They are just not shown.
I asume that I am adding them on a level too high or that something in my window is wrong.