def resize(self, evt=None):
for child in self:<EOL><INDENT>if isinstance(child, Control):<EOL><INDENT>child.resize(evt)<EOL><DEDENT><DEDENT>if evt:<EOL><INDENT>evt.Skip()<EOL><DEDENT>
automatically adjust relative pos and size of children controls