Reviewers: ,
Please review this at http://codereview.tryton.org/47004/ Affected files: M trytond/ir/model.xml M trytond/ir/ui/form.rnc M trytond/ir/ui/form.rng Index: trytond/ir/model.xml =================================================================== --- a/trytond/ir/model.xml +++ b/trytond/ir/model.xml @@ -85,7 +85,7 @@ <field name="relation"/> <label name="field_description"/> <field name="field_description" colspan="3"/> - <label name="help"/> + <label name="help" fill="1" xalign="0.0"/> <field name="help" colspan="3"/> <label name="module"/> <field name="module"/> Index: trytond/ir/ui/form.rnc =================================================================== --- a/trytond/ir/ui/form.rnc +++ b/trytond/ir/ui/form.rnc @@ -53,6 +53,7 @@ attlist.label &= ( attribute name { text } | attribute id { text } ) attlist.label &= attribute states { text }? attlist.label &= [ a:defaultValue = "0.0" ] attribute align { text }? +attlist.label &= [ a:defaultValue = "0.5" ] attribute xalign { text }? attlist.label &= [ a:defaultValue = "0" ] attribute expand { "0" | "1" }? attlist.label &= [ a:defaultValue = "0" ] attribute fill { "0" | "1" }? Index: trytond/ir/ui/form.rng =================================================================== --- a/trytond/ir/ui/form.rng +++ b/trytond/ir/ui/form.rng @@ -180,6 +180,11 @@ </define> <define name="attlist.label" combine="interleave"> <optional> + <attribute name="xalign" a:defaultValue="0.5"/> + </optional> + </define> + <define name="attlist.label" combine="interleave"> + <optional> <attribute name="expand" a:defaultValue="0"> <choice> <value>0</value> -- [email protected] mailing list
