Window Frames being Overwritten
Every interface file I have had modified so far has had a bug in it.
First some background. It appears that EQII renders the PAGEs in reverse order. When parsing the XML file, it renders the last thing in the PAGE first, then proceeds to render things before that. Example:
<page>
<icon>
<text>
<backdrop>
<window_frame>
</page>
This will first draw the window_frame, then the backdrop, then the text, and finally the icon. This can cause you problems if things aren't positioned properly. You may find that one object overwrites another. This can actually be put to good use one you understand how it works.
The problem I have been experiencing is that the default UI XML files all have the backdrop and window frame as the last things in the file. What this means, is that anytime you resize a window smaller than largest PAGE, the PAGE objects end up overwriting the frame of the window.
By moving the WC_Frame PAGE to be the very first thing in the initial PAGE, this alleviates the problem.
So, instead of having
<page>
<text>
<icon>
<wc_frame>
<wc_backdrop>
</page>
I now use:
<page>
<wc_frame>
<text>
<icon>
<wc_backdrop>
</page>
Hope that is clear, if not let me know and I'll see how I can word it different.
|