RangeScan: remove minimum/fixed size

Signed-off-by: Robert Jördens <rj@quartiq.de>
This commit is contained in:
Robert Jördens 2018-11-15 08:17:39 +01:00
parent d3483c1d26
commit ea5346f884
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)