def setSize(self, size):
        self._size = size

        if self._orientation == self.ORIENTATION_HORIZONTAL:
            self.setWidth(size, self.UNITS_PIXELS)
        else:
            self.setHeight(size, self.UNITS_PIXELS)

        self.requestRepaint()
Set the size for this Slider.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/slider.py/Slider.setSize