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