Purchase header design

This commit is contained in:
2026-06-08 18:10:22 +02:00
parent e2e0e8cece
commit 8691ba430f

View File

@@ -66,9 +66,9 @@ this repository contains the full copyright notices and license terms. -->
</group>
<group id="purchase_tolerance" string="Tolerance"
colspan="1" col="4" panel="card" icon="tryton-switch"
colspan="1" col="6" panel="card" icon="tryton-switch"
xalign="0" yalign="0"
col_widths="min-content,1fr,min-content,1fr">
col_widths="min-content,120px,min-content,120px,min-content,1fr">
<label name="tol_min"/>
<field name="tol_min"/>
<label name="tol_max"/>
@@ -76,21 +76,22 @@ this repository contains the full copyright notices and license terms. -->
<label name="tolerance_used"/>
<field name="tolerance_used" widget="tolerance_gauge"
min_field="tolerance_min" max_field="tolerance_max"
colspan="3"/>
xexpand="1" xfill="1"/>
<field name="tolerance_min" invisible="1"/>
<field name="tolerance_max" invisible="1"/>
</group>
</group>
<group id="purchase_header_right" colspan="2" col="1"
xalign="0" yalign="0" col_widths="1fr">
<group id="purchase_header_right" colspan="2" col="2"
xalign="0" yalign="0" col_widths="1fr,260px">
<group id="purchase_map" string="Map" colspan="1" col="1"
panel="card" icon="tryton-public" xalign="0" yalign="0"
col_widths="1fr">
<field name="viewer" widget="html_viewer" height="260"/>
<field name="viewer" widget="html_viewer" height="230"/>
</group>
<group id="purchase_recap" string="Summary" colspan="1" col="2"
panel="card" icon="tryton-note" xalign="0" yalign="0"
<group id="purchase_recap" string="Récapitulatif"
colspan="1" col="2" panel="sidebar" icon="tryton-note"
xalign="0" yalign="0"
col_widths="min-content,1fr">
<label name="state"/>
<field name="state"/>