mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
gui: auto-set ScientificSpinBox relative_step and precision in ScanWidget
This commit is contained in:
parent
6fe23b8899
commit
941f6fc859
@ -179,7 +179,11 @@ class _RangeScan(LayoutWidget):
|
||||
self.addWidget(stop, 2, 1)
|
||||
|
||||
apply_properties(start)
|
||||
start.setPrecision()
|
||||
start.setRelativeStep()
|
||||
apply_properties(stop)
|
||||
stop.setPrecision()
|
||||
stop.setRelativeStep()
|
||||
apply_properties(scanner)
|
||||
|
||||
def update_start(value):
|
||||
|
Loading…
Reference in New Issue
Block a user