Convert height and width attributes into integer
This conversion was lost in the refactoring of issue8131. issue8325
This commit is contained in:
1 parent
d733c11276
commit
4cc1b194cd
1 file changed
+2
-1
@@ -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']:
|
||||
|
||||
Reference in new issue
Block a user