Thread: Frame size
View Single Post
Old 04-06-2012, 09:24 AM   #2
valaury3169
Enhanced Imperial Golem
 
Join Date: Jun 2008
Posts: 204
Interface Author - Click to view interfaces
Default

You'll need to change the <CX> to 32 and the <CY> to 33 in the screen definition (near where you bolded). The size of the EQ button is defined as 30,31. Positioning stuff within a window (in this case, the EQ button is set to 0,0) does not add in the border. So, 0,0 is the first pixel below and to the right of whatever border you set it to have. However, the window (<screen>) size does include the borders. The original border was 4 pixels wide (5 or 6 for the top I think), so the window size had to be bigger. The WDT_Inner template is only 2 pixels all around.

Hopefully that made sense. Either way, in the <Screen> tag at the bottom (where you changed the template) replace:

<Size>
<CX>40</CX>
<CY>40</CY>
</Size>

with:

<Size>
<CX>32</CX>
<CY>33</CY>
</Size>


By the way, when you post code, especially large blocks of it, remember to use the tags of (code)(/code) tags (use square brackets instead of parenthesis). That way the code is packaged into a scrollable box in the middle of you post. It is easier to read and easier to copy/paste if need be.
valaury3169 is offline   Reply With Quote