Convert height and width attributes into integer

This conversion was lost in the refactoring of issue8131.

issue8325
This commit is contained in:
Cédric Krier committed 2019-05-05 19:50:58 +02:00
1 parent d733c11276
commit 4cc1b194cd
1 file changed
+2 -1
+2 -1
View File
@@ -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']: