def center_color_picker(self):
        """Position color picker objects.

        They are positioned relative to each other and
        to the screen as well.
        """
        if not self.color_widgets:
            return

        ### center color widgets on the screen
        self.color_widgets.rect.center = SCREEN_RECT.center

        ### move caption right to their topleft and
        ### buttons right to their bottomright with
        ### a slight offset

        self.caption.rect.bottomleft = self.color_widgets.rect.move(0, -15).topleft

        self.buttons.rect.topright = self.color_widgets.rect.move(0, 15).bottomright

        ### reposition labels near the screen bottomleft

        self.labels.rect.bottomleft = SCREEN_RECT.move(5, -8).bottomleft

        ### if color picker loop is running, request it
        ### to be drawn

        if hasattr(self, "running") and self.running:

            APP_REFS.draw_after_window_resize_setups = self.draw_once
Position color picker objects.

        They are positioned relative to each other and
        to the screen as well.
        
nodezator/colorsman/picker/main.py