Add missing default value of yexpand and yfill for Paned

issue3984
This commit is contained in:
Cédric Krier committed 2014-06-11 17:29:00 +02:00
1 parent 2636c2ea5b
commit 252956af26
1 file changed
+2
+2
View File
@@ -340,6 +340,8 @@ class ViewForm(View):
container.add(frame, attributes)
def _parse_paned(self, node, container, attributes, Paned):
attributes.setdefault('yexpand', True)
attributes.setdefault('yfill', True)
paned = Paned()
if 'position' in attributes:
paned.set_position(attributes['position'])