Having some trouble with positioning in a simple extension.
I've been wanting a field for keeping track of charges in magic items in 3.5e, so I decided to take a look at the Enhanced Items extension for the same ruleset, and try to create my own.
Here is my XML
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<!--
Please see the license.html file included with this distribution for
attribution and copyright information.
-->
<root>
<windowclass name="item" merge="join">
<sheetdata>
<subwindow_record name="main">
<script file="campaign/scripts/item_drop.lua" />
</subwindow_record>
</sheetdata>
</windowclass>
<windowclass name="item_main" merge="join">
<sheetdata>
<line_column name="divider7" />
<label_column name="charges_label">
<static textres="charges" />
</label_column>
<number_dropadd name="charge">
<anchored to="charges_label" position="right" offset="25,0" width="60" />
</number_dropadd>
<label_fieldtop>
<anchored to="charge" />
<static textres="charges" size="50%" />
</label_fieldtop>
<number_dropadd name="maxcharges">
<anchored to="charge" position="right" offset="10,0" width="60" />
<default>50</default>
<gmeditonly />
</number_dropadd>
<label_fieldtop>
<anchored to="maxcharges" />
<static textres="max_charges" size="50%" />
</label_fieldtop>
</sheetdata>
</windowclass>
</root>
Now, everything has gone smoothly, with the exception of the following little glitch. The "Charges" and "Max Charges" strings keep getting shoved up and into the divider:
https://i64.photobucket.com/albums/h...psb6knrkmg.png
Now, I've tried a few things, such as anchoring the label column to the divider and positioning it to "bottom", and so on, but I can't seem to figure a means to get it positioned ever so slightly lower.
Anyone have any ideas?