Fix character view

This commit is contained in:
hodasemi 2024-08-30 06:20:00 +02:00
parent bd9af2255d
commit c39e18f631

View file

@ -49,11 +49,13 @@
button_normal='{"background_color":"#835219","border_color":"#543919","border_thickness":{"Pixel":5}}'
button_selected='{"background_color":"#835219","border_color":"#c37417","border_thickness":{"Pixel":5}}'>
<label id="character_name" x_slot="0" y_slot="0" text_ratio="0.8">Name</label>
<grid x_slot="0" y_slot="0" x_dim="2" y_dim="1">
<label id="character_name" x_slot="0" y_slot="0" text_ratio="0.8">Name</label>
<label id="level" x_slot="1" y_slot="0" text_ratio="0.8">0</label>
</grid>
<grid x_slot="0" y_slot="1" x_dim="8" y_dim="1">
<label id="level" x_slot="0" y_slot="0" text_ratio="0.8">0</label>
<progressbar id="level_progress" x_slot="1" y_slot="0" x_size="7" background="#A69614" foreground="#E9D429">Test</progressbar>
<grid x_slot="0" y_slot="1" x_dim="1" y_dim="1">
<progressbar id="level_progress" x_slot="0" y_slot="0" background="#A69614" foreground="#E9D429">Test</progressbar>
</grid>
<grid x_slot="0" y_slot="2" x_dim="1" y_dim="4" y_size="4">
@ -63,10 +65,10 @@
<label x_slot="0" y_slot="0" x_size="3" text_color="#C23519">Strength</label>
<button id="strength_field" x_slot="3" y_slot="0" text_color="black" select="true">0</button>
<label x_slot="0" y_slot="1" x_size="3" text_ratio="0.4" text_color="#65D01E">Agility</label>
<label x_slot="0" y_slot="1" x_size="3" text_color="#65D01E">Agility</label>
<button id="agility_field" x_slot="3" y_slot="1" text_color="black">0</button>
<label x_slot="0" y_slot="2" x_size="3" text_ratio="0.4" text_color="#1D63B3">Intelligence</label>
<label x_slot="0" y_slot="2" x_size="3" text_color="#1D63B3">Intelligence</label>
<button id="intelligence_field" x_slot="3" y_slot="2" text_color="black">0</button>
</grid>
</grid>