Refactor character creation tool XML: add recursive style property and restructure body with RowLayout for attribute display

This commit is contained in:
Florian 2026-05-11 15:19:01 +02:00
parent 110b9844da
commit 3132f5ede2

View File

@ -1,6 +1,6 @@
<Pdf Name="charpdf">
<Styles>
<Style Name="main_table">
<Style Name="main_table" Recursive="true">
<BorderWidth>1</BorderWidth>
</Style>
</Styles>
@ -28,19 +28,9 @@
</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>
<RowLayout Styles="main_table">
<Content>
<Label>
<Text>"MU"</Text>
@ -48,6 +38,10 @@
<Label>
<Text>[data.character.attributes.courage]</Text>
</Label>
</Content>
</RowLayout>
<RowLayout>
<Content>
<Label>
<Text>"KL"</Text>
</Label>
@ -55,7 +49,29 @@
<Text>[data.character.attributes.intelligence]</Text>
</Label>
</Content>
</TableLayout>
</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>
</ColumnLayout>
</Body>
<!--<Footer></Footer>-->
</Page>