changeset a6afcbe3df47 in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=a6afcbe3df47
description:
Update default value of expand attribute to match client behavior
issue8889
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 30fb7fbf4767 -r a6afcbe3df47 trytond/ir/ui/form.rnc
--- a/trytond/ir/ui/form.rnc Sat Dec 07 16:03:36 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 30fb7fbf4767 -r a6afcbe3df47 trytond/ir/ui/form.rng
--- a/trytond/ir/ui/form.rng Sat Dec 07 16:03:36 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>