diff --git a/src/superqt/sliders/_labeled.py b/src/superqt/sliders/_labeled.py index f7a10e7a..b1aa656b 100644 --- a/src/superqt/sliders/_labeled.py +++ b/src/superqt/sliders/_labeled.py @@ -153,6 +153,8 @@ def _setValue(self, value: float): value = int(value) if self._slider.maximum() < value: self._slider.setMaximum(value) + elif self._slider.minimum() > value: + self._slider.setMinimum(value) self._slider.setValue(int(value)) def _rename_signals(self):