From 69967bd92e53a05ec8fd20ab8124eddc5616dd1d Mon Sep 17 00:00:00 2001 From: fdrgsp Date: Mon, 4 Nov 2024 22:01:40 -0500 Subject: [PATCH] fix: range from 0 --- src/pymmcore_widgets/useq_widgets/_z.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pymmcore_widgets/useq_widgets/_z.py b/src/pymmcore_widgets/useq_widgets/_z.py index ba516bfdc..b0bb85c6d 100644 --- a/src/pymmcore_widgets/useq_widgets/_z.py +++ b/src/pymmcore_widgets/useq_widgets/_z.py @@ -146,7 +146,7 @@ def __init__(self, parent: QWidget | None = None) -> None: self.steps.setValue(0) self.range = QDoubleSpinBox() - self.range.setRange(-10_000, 10_000) + self.range.setRange(0, 10_000) self.range.setSingleStep(0.1) self.range.setDecimals(3) self.range.setValue(0)