Refactor character creation tool XML: replace main_table style with ValueBox, restructure body with ColumnLayouts, and update attribute display

This commit is contained in:
Florian 2026-05-11 16:03:54 +02:00
parent b164811c33
commit 8fed96aaa7

View File

@ -1,7 +1,9 @@
<Pdf Name="charpdf">
<Styles>
<Style Name="main_table" Recursive="true" IgnoreSelf="true">
<BorderWidth>1</BorderWidth>
<Style Name="ValueBox" Recursive="true" IgnoreSelf="true">
<Border>1</Border>
<Margin>4</Margin>
<Padding>8</Padding>
</Style>
</Styles>
<Pages>
@ -28,9 +30,9 @@
</RowLayout>
</Header>
<Body>
<ColumnLayout>
<RowLayout>
<Content>
<RowLayout Styles="main_table">
<ColumnLayout Styles="ValueBox">
<Content>
<Label>
<Text>"MU"</Text>
@ -39,8 +41,8 @@
<Text>[data.character.attributes.courage]</Text>
</Label>
</Content>
</RowLayout>
<RowLayout>
</ColumnLayout>
<ColumnLayout Styles="ValueBox">
<Content>
<Label>
<Text>"KL"</Text>
@ -49,8 +51,8 @@
<Text>[data.character.attributes.intelligence]</Text>
</Label>
</Content>
</RowLayout>
<RowLayout>
</ColumnLayout>
<ColumnLayout Styles="ValueBox">
<Content>
<Label>
<Text>"IN"</Text>
@ -59,8 +61,8 @@
<Text>[data.character.attributes.intuition]</Text>
</Label>
</Content>
</RowLayout>
<RowLayout>
</ColumnLayout>
<ColumnLayout Styles="ValueBox">
<Content>
<Label>
<Text>"CH"</Text>
@ -69,9 +71,9 @@
<Text>[data.character.attributes.charisma]</Text>
</Label>
</Content>
</RowLayout>
</Content>
</ColumnLayout>
</Content>
</RowLayout>
</Body>
<!--<Footer></Footer>-->
</Page>