mirror of https://github.com/m-labs/artiq.git
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)
|
self.addWidget(stop, 2, 1)
|
||||||
|
|
||||||
apply_properties(start)
|
apply_properties(start)
|
||||||
|
start.setPrecision()
|
||||||
|
start.setRelativeStep()
|
||||||
apply_properties(stop)
|
apply_properties(stop)
|
||||||
|
stop.setPrecision()
|
||||||
|
stop.setRelativeStep()
|
||||||
apply_properties(scanner)
|
apply_properties(scanner)
|
||||||
|
|
||||||
def update_start(value):
|
def update_start(value):
|
||||||
|
|
Loading…
Reference in New Issue