mirror of https://github.com/m-labs/artiq.git
RangeScan: remove minimum/fixed size
Signed-off-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
parent
d3483c1d26
commit
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