changeset 76cb0a4ce570 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=76cb0a4ce570
description:
Convert height and width attributes into integer
This conversion was lost in the refactoring of issue8131.
issue8325
diffstat:
tryton/gui/window/view_form/view/__init__.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r a2a957b7407f -r 76cb0a4ce570
tryton/gui/window/view_form/view/__init__.py
--- a/tryton/gui/window/view_form/view/__init__.py Sun May 05 19:33:48
2019 +0200
+++ b/tryton/gui/window/view_form/view/__init__.py Sun May 05 19:50:58
2019 +0200
@@ -98,7 +98,8 @@
if name in node_attrs:
node_attrs[name] = bool(int(node_attrs[name]))
for name in [
- 'yexpand', 'yfill', 'xexpand', 'xfill', 'colspan', 'position']:
+ 'yexpand', 'yfill', 'xexpand', 'xfill', 'colspan', 'position',
+ 'height', 'width']:
if name in node_attrs:
node_attrs[name] = int(node_attrs[name])
for name in ['xalign', 'yalign']: