changeset 42ef3e9537f4 in trytond:5.2 details: https://hg.tryton.org/trytond?cmd=changeset;node=42ef3e9537f4 description: Update default value of expand attribute to match client behavior
issue8889 (grafted from a6afcbe3df477cef70c0f1f06e562c1377e652cf) diffstat: trytond/ir/ui/form.rnc | 4 ++-- trytond/ir/ui/form.rng | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diffs (42 lines): diff -r 6c4eeb29b724 -r 42ef3e9537f4 trytond/ir/ui/form.rnc --- a/trytond/ir/ui/form.rnc Mon Dec 16 23:47:48 2019 +0100 +++ b/trytond/ir/ui/form.rnc Wed Dec 11 18:36:49 2019 +0100 @@ -113,7 +113,7 @@ [ a:defaultValue = "0" ] attribute yexpand { "0" | "1" }? attlist.image &= [ a:defaultValue = "0" ] attribute yfill { "0" | "1" }? attlist.image &= - [ a:defaultValue = "0" ] attribute xexpand { "0" | "1" }? + [ a:defaultValue = "1" ] attribute xexpand { "0" | "1" }? attlist.image &= [ a:defaultValue = "48" ] attribute size {text }? attlist.image &= [ a:defaultValue = "0" ] attribute xfill { "0" | "1" }? @@ -132,7 +132,7 @@ attlist.separator &= [ a:defaultValue = "0" ] attribute yfill { "0" | "1" }? attlist.separator &= - [ a:defaultValue = "0" ] attribute xexpand { "0" | "1" }? + [ a:defaultValue = "1" ] attribute xexpand { "0" | "1" }? attlist.separator &= [ a:defaultValue = "0" ] attribute xfill { "0" | "1" }? attlist.separator &= attribute help { text }? diff -r 6c4eeb29b724 -r 42ef3e9537f4 trytond/ir/ui/form.rng --- a/trytond/ir/ui/form.rng Mon Dec 16 23:47:48 2019 +0100 +++ b/trytond/ir/ui/form.rng Wed Dec 11 18:36:49 2019 +0100 @@ -520,7 +520,7 @@ </define> <define name="attlist.image" combine="interleave"> <optional> - <attribute a:defaultValue="0"> + <attribute a:defaultValue="1"> <name ns="">xexpand</name> <choice> <value>0</value> @@ -639,7 +639,7 @@ </define> <define name="attlist.separator" combine="interleave"> <optional> - <attribute a:defaultValue="0"> + <attribute a:defaultValue="1"> <name ns="">xexpand</name> <choice> <value>0</value>