forked from M-Labs/artiq
1
0
Fork 0

Compare commits

...

1 Commits

Author SHA1 Message Date
Robert Jördens ea5346f884 RangeScan: remove minimum/fixed size
Signed-off-by: Robert Jördens <rj@quartiq.de>
2018-11-15 23:41:34 +01:00
1 changed files with 0 additions and 4 deletions

View File

@ -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)