From e80b7c5b8428f497e994bd307216dd7e0d6a3981 Mon Sep 17 00:00:00 2001 From: federico gasparoli <70725613+fdrgsp@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:41:38 -0500 Subject: [PATCH] fix: "range" in range-around z-stack widget starts form 0 (no negative numbers) (#379) 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)