Refactor character creation tool XML: add recursive style property and restructure body with RowLayout for attribute display
This commit is contained in:
parent
110b9844da
commit
3132f5ede2
@ -1,6 +1,6 @@
|
|||||||
<Pdf Name="charpdf">
|
<Pdf Name="charpdf">
|
||||||
<Styles>
|
<Styles>
|
||||||
<Style Name="main_table">
|
<Style Name="main_table" Recursive="true">
|
||||||
<BorderWidth>1</BorderWidth>
|
<BorderWidth>1</BorderWidth>
|
||||||
</Style>
|
</Style>
|
||||||
</Styles>
|
</Styles>
|
||||||
@ -28,34 +28,50 @@
|
|||||||
</RowLayout>
|
</RowLayout>
|
||||||
</Header>
|
</Header>
|
||||||
<Body>
|
<Body>
|
||||||
<TableLayout>
|
<ColumnLayout>
|
||||||
<Columns>
|
|
||||||
<Column>
|
|
||||||
<Width>150</Width>
|
|
||||||
</Column>
|
|
||||||
<Column>
|
|
||||||
<Width>50</Width>
|
|
||||||
<Percent>true</Percent>
|
|
||||||
</Column>
|
|
||||||
<Column>
|
|
||||||
<Width>150</Width>
|
|
||||||
</Column>
|
|
||||||
</Columns>
|
|
||||||
<Content>
|
<Content>
|
||||||
<Label>
|
<RowLayout Styles="main_table">
|
||||||
<Text>"MU"</Text>
|
<Content>
|
||||||
</Label>
|
<Label>
|
||||||
<Label>
|
<Text>"MU"</Text>
|
||||||
<Text>[data.character.attributes.courage]</Text>
|
</Label>
|
||||||
</Label>
|
<Label>
|
||||||
<Label>
|
<Text>[data.character.attributes.courage]</Text>
|
||||||
<Text>"KL"</Text>
|
</Label>
|
||||||
</Label>
|
</Content>
|
||||||
<Label>
|
</RowLayout>
|
||||||
<Text>[data.character.attributes.intelligence]</Text>
|
<RowLayout>
|
||||||
</Label>
|
<Content>
|
||||||
|
<Label>
|
||||||
|
<Text>"KL"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[data.character.attributes.intelligence]</Text>
|
||||||
|
</Label>
|
||||||
|
</Content>
|
||||||
|
</RowLayout>
|
||||||
|
<RowLayout>
|
||||||
|
<Content>
|
||||||
|
<Label>
|
||||||
|
<Text>"IN"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[data.character.attributes.intuition]</Text>
|
||||||
|
</Label>
|
||||||
|
</Content>
|
||||||
|
</RowLayout>
|
||||||
|
<RowLayout>
|
||||||
|
<Content>
|
||||||
|
<Label>
|
||||||
|
<Text>"CH"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[data.character.attributes.charisma]</Text>
|
||||||
|
</Label>
|
||||||
|
</Content>
|
||||||
|
</RowLayout>
|
||||||
</Content>
|
</Content>
|
||||||
</TableLayout>
|
</ColumnLayout>
|
||||||
</Body>
|
</Body>
|
||||||
<!--<Footer></Footer>-->
|
<!--<Footer></Footer>-->
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user