Group margin fields to reduce height (small screen)

This commit is contained in:
resteve 2014-12-12 19:47:51 +01:00
parent e8a3388d49
commit 0c7d319ddc

View file

@ -6,12 +6,14 @@ copyright notices and license terms. -->
<xpath
expr="/form/notebook/page[@id=&quot;sale&quot;]/group[@id=&quot;amount_buttons&quot;]/label[@name=&quot;untaxed_amount&quot;]"
position="before">
<label name="margin" xalign="1.0" xexpand="1"/>
<field name="margin" xalign="1.0" xexpand="0"/>
<label name="margin_percent" xalign="1.0" xexpand="1"/>
<group id="margin_percent" colspan="1" col="2" xexpand="0">
<field name="margin_percent" factor="100" xalign="1.0" xexpand="0"/>
<label name="margin_percent" string="%" xalign="0.0" xexpand="1" xfill="1"/>
<group id="margin" colspan="2" col="4" xexpand="0">
<label name="margin" xalign="1.0" xexpand="1"/>
<field name="margin" xalign="1.0" xexpand="0"/>
<label name="margin_percent" xalign="1.0" xexpand="1"/>
<group id="margin_percent" colspan="1" col="2" xexpand="0">
<field name="margin_percent" factor="100" xalign="1.0" xexpand="0"/>
<label name="margin_percent" string="%" xalign="0.0" xexpand="1" xfill="1"/>
</group>
</group>
</xpath>
</data>