Netzilla
September 13th, 2018, 19:12
I'm working on a new ruleset and I'm still in the early stages of putting together the character sheet. However, I'm running into an odd display issue (see attached image). My question is, where is the blank space at the bottom of the frame coming from and how do I eliminate it.
24620
Here is the code where I define the frame.
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<windowclass name="charsheet_main">
<margins control="0,0,0,2"/>
<sheetdata>
<!-- Primary characteristics container -->
<frame_char name="primaryCharacteristicsFrame">
<bounds>15,0,225,235</bounds>
</frame_char>
<label_frametop>
<anchored to="primaryCharacteristicsFrame"/>
<static textres="char_label_primary_characteristics"/>
</label_frametop>
<!-- Headers -->
<stringcontrol>
<anchored>
<to>primaryCharacteristicsFrame</to>
<position>insidetopleft</position>
<offset>15,25</offset>
<size>
<width>95</width>
</size>
</anchored>
<font>sheetlabelsmall</font>
<static textres="char_label_characteristic"/>
</stringcontrol>
<stringcontrol>
<anchored>
<to>primaryCharacteristicsFrame</to>
<position>insidetopleft</position>
<offset>115,25</offset>
<size>
<width>35</width>
</size>
</anchored>
<font>sheetlabelsmall</font>
<center/>
<static textres="char_label_base"/>
</stringcontrol>
<stringcontrol>
<anchored>
<to>primaryCharacteristicsFrame</to>
<position>insidetopleft</position>
<offset>165,25</offset>
<size>
<width>40</width>
</size>
</anchored>
<font>sheetlabelsmall</font>
<center/>
<static textres="char_label_current"/>
</stringcontrol>
<!-- List out the characteristics -->
<windowlist name="primaryCharacteristics">
<anchored>
<to>primaryCharacteristicsFrame</to>
<position>over</position>
<offset>-15,-40</offset>
</anchored>
<class>charsheet_characteristic</class>
<datasource>.characteristics</datasource>
<noscroll/>
<script file="campaign/scripts/primaryCharacteristics.lua"/>
<skipempty/>
</windowlist>
</sheetdata>
</windowclass>
</root>
Thanks in advance.
24620
Here is the code where I define the frame.
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<windowclass name="charsheet_main">
<margins control="0,0,0,2"/>
<sheetdata>
<!-- Primary characteristics container -->
<frame_char name="primaryCharacteristicsFrame">
<bounds>15,0,225,235</bounds>
</frame_char>
<label_frametop>
<anchored to="primaryCharacteristicsFrame"/>
<static textres="char_label_primary_characteristics"/>
</label_frametop>
<!-- Headers -->
<stringcontrol>
<anchored>
<to>primaryCharacteristicsFrame</to>
<position>insidetopleft</position>
<offset>15,25</offset>
<size>
<width>95</width>
</size>
</anchored>
<font>sheetlabelsmall</font>
<static textres="char_label_characteristic"/>
</stringcontrol>
<stringcontrol>
<anchored>
<to>primaryCharacteristicsFrame</to>
<position>insidetopleft</position>
<offset>115,25</offset>
<size>
<width>35</width>
</size>
</anchored>
<font>sheetlabelsmall</font>
<center/>
<static textres="char_label_base"/>
</stringcontrol>
<stringcontrol>
<anchored>
<to>primaryCharacteristicsFrame</to>
<position>insidetopleft</position>
<offset>165,25</offset>
<size>
<width>40</width>
</size>
</anchored>
<font>sheetlabelsmall</font>
<center/>
<static textres="char_label_current"/>
</stringcontrol>
<!-- List out the characteristics -->
<windowlist name="primaryCharacteristics">
<anchored>
<to>primaryCharacteristicsFrame</to>
<position>over</position>
<offset>-15,-40</offset>
</anchored>
<class>charsheet_characteristic</class>
<datasource>.characteristics</datasource>
<noscroll/>
<script file="campaign/scripts/primaryCharacteristics.lua"/>
<skipempty/>
</windowlist>
</sheetdata>
</windowclass>
</root>
Thanks in advance.