forked from M-Labs/artiq
Compare commits
1 Commits
master
...
fix-scanwi
Author | SHA1 | Date |
---|---|---|
Robert Jördens | ea5346f884 |
|
@ -211,9 +211,6 @@ class _RangeScan(LayoutWidget):
|
||||||
|
|
||||||
start = ScientificSpinBox()
|
start = ScientificSpinBox()
|
||||||
start.setStyleSheet("QDoubleSpinBox {color:blue}")
|
start.setStyleSheet("QDoubleSpinBox {color:blue}")
|
||||||
start.setMinimumSize(110, 0)
|
|
||||||
start.setSizePolicy(QtWidgets.QSizePolicy(
|
|
||||||
QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed))
|
|
||||||
disable_scroll_wheel(start)
|
disable_scroll_wheel(start)
|
||||||
self.addWidget(start, 0, 1)
|
self.addWidget(start, 0, 1)
|
||||||
|
|
||||||
|
@ -225,7 +222,6 @@ class _RangeScan(LayoutWidget):
|
||||||
|
|
||||||
stop = ScientificSpinBox()
|
stop = ScientificSpinBox()
|
||||||
stop.setStyleSheet("QDoubleSpinBox {color:red}")
|
stop.setStyleSheet("QDoubleSpinBox {color:red}")
|
||||||
stop.setMinimumSize(110, 0)
|
|
||||||
disable_scroll_wheel(stop)
|
disable_scroll_wheel(stop)
|
||||||
self.addWidget(stop, 2, 1)
|
self.addWidget(stop, 2, 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue