def updateHeight(self, instance, value): for c in Window.children: c.height = Window.height - Window.keyboard_height