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">
|
||||
<Styles>
|
||||
<Style Name="main_table">
|
||||
<Style Name="main_table" Recursive="true">
|
||||
<BorderWidth>1</BorderWidth>
|
||||
</Style>
|
||||
</Styles>
|
||||
@ -28,34 +28,50 @@
|
||||
</RowLayout>
|
||||
</Header>
|
||||
<Body>
|
||||
<TableLayout>
|
||||
<Columns>
|
||||
<Column>
|
||||
<Width>150</Width>
|
||||
</Column>
|
||||
<Column>
|
||||
<Width>50</Width>
|
||||
<Percent>true</Percent>
|
||||
</Column>
|
||||
<Column>
|
||||
<Width>150</Width>
|
||||
</Column>
|
||||
</Columns>
|
||||
<ColumnLayout>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"MU"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.attributes.courage]</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>"KL"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.attributes.intelligence]</Text>
|
||||
</Label>
|
||||
<RowLayout Styles="main_table">
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"MU"</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.attributes.courage]</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</RowLayout>
|
||||
<RowLayout>
|
||||
<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>
|
||||
</TableLayout>
|
||||
</ColumnLayout>
|
||||
</Body>
|
||||
<!--<Footer></Footer>-->
|
||||
</Page>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user