From 4cc1b194cd439fc6c258063eab86f14960b45af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 5 May 2019 19:50:58 +0200 Subject: [PATCH] Convert height and width attributes into integer This conversion was lost in the refactoring of issue8131. issue8325 --- tryton/gui/window/view_form/view/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tryton/gui/window/view_form/view/__init__.py b/tryton/gui/window/view_form/view/__init__.py index 039d14bf6d..3de6034af9 100644 --- a/tryton/gui/window/view_form/view/__init__.py +++ b/tryton/gui/window/view_form/view/__init__.py @@ -98,7 +98,8 @@ class XMLViewParser: 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']: