def reposition_children(self):
        """Reposition children inside body.

        Used to reposition contents of the body inside it
        when the only contents are the children themselves
        (there are no arrows nor a scroll area).
        """
        self.children.rect.topleft = self.body.rect.move(1, 1).topleft

        self.children.rect.snap_rects_ip(
            retrieve_pos_from="bottomleft", assign_pos_to="topleft"
        )
Reposition children inside body.

        Used to reposition contents of the body inside it
        when the only contents are the children themselves
        (there are no arrows nor a scroll area).
        
nodezator/menu/submenu/main.py