PDA

View Full Version : A little help regarding resizing the Character Sheet "windowclass"



tdewitt274
July 10th, 2010, 22:56
OK, so I'm making my first real attempt at a ruleset and I'm running up against an issue with resizing the character sheet to show everything.

I'm sure it's something stupid, as I've been able to do it before, but I can't figure it out.

Can someone take a look and tell me what I'm doing wrong?

Thanks!



<?xml version="1.0" encoding="iso-8859-1"?>
<root version="2.0">
<windowclass name="charsheet">
<frame>charsheet</frame>
<placement>
<size>
<width>525</width>
<height>1611</height>
</size>
</placement>
<sizelimits>
<maximum>
<height>23</height>
</maximum>
<minimum>
<height>600</height>
</minimum>
</sizelimits>
<minimize />
<nodelete />
<playercontrol />

<sheetdata>
<genericcontrol name="overviewframe">
<bounds>15,20,480,70</bounds>
<frame>
<name>sheetgroup</name>
</frame>
</genericcontrol>

<labeledstring name="name">
<anchored>
<to>overviewframe</to>
<position>insidetopleft</position>
<offset>15,10</offset>
<size>
<width>450</width>
<height>20</height>
</size>
</anchored>
<anchorto>overviewframe</anchorto>
<height>20</height>
<label>name</label>
<tabtarget>
<next>race</next>
<prev>appearance</prev>
</tabtarget>
</labeledstring>

<genericcontrol name="abilitiesframe">
<bounds>15,85,280,370</bounds>
<frame>
<name>sheetgroup</name>
</frame>
</genericcontrol>
<stringcontrol name="lblSTR">
<anchored>
<to>abilitiesframe</to>
<position>insidetopleft</position>
<offset>15,30</offset>
<size>
<width>50</width>
</size>
</anchored>
<font>diemod</font>
<static>STR</static>
</stringcontrol>
<numberfield name="STRBase" source="attributes.STR.base">
<anchored>
<to>lblSTR</to>
<position>righthigh</position>
<offset>10,0</offset>
<size>
<width>81</width>
<height>20</height>
</size>
</anchored>
<font>sheetnumber</font>
<frame>
<name>modifier</name>
<offset>5,4,5,4</offset>
</frame>
<readonly/>
</numberfield>
<stringcontrol name="lblSTRMod">
<anchored>
<to>STRBase</to>
<position>insidetopleft</position>
<offset>105,-15</offset>
<size>
<width>81</width>
</size>
</anchored>
<font>sheetlabelsmall</font>
<static>Damage Modifier</static>
</stringcontrol>
<numberfield name="DmgMod" source="attributes.STR.DmgMod">
<anchored>
<to>lblSTRMod</to>
<position>righthigh</position>
<offset>-81,15</offset>
<size>
<width>81</width>
<height>20</height>
</size>
</anchored>
<font>sheetnumber</font>
<frame>
<name>modifier</name>
<offset>5,4,5,4</offset>
</frame>
<readonly/>
</numberfield>
<closebutton />
</sheetdata>
</windowclass>
</root>

Oberoten
July 10th, 2010, 23:14
Alas I think it has a max-size of 768 height or something similar to that. I ran into this with my Ars Magica sheet as well.

- Obe

tdewitt274
July 10th, 2010, 23:35
I knew I'd find it if I looked long enough (and thanks to the "Anatomy of a Ruleset"). Just needed to declare the minimum value (in red above).