def reposition_icon_and_text(self):
        """Reposition icon and text rects, if it has."""
        if self.draw == empty_function:
            return

        self.icon_rect.midleft = self.rect.move(self.padding, 0).midleft

        self.text_rect.midleft = self.icon_rect.move(self.padding, 0).midright
Reposition icon and text rects, if it has.
nodezator/fileman/pathobj.py