missing parts of 59ac567

This commit is contained in:
Robert Jördens 2016-03-08 16:49:23 +01:00
parent 59ac567048
commit 81bc99905c
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ class _RangeScan(LayoutWidget):
self.scanner = scanner = ScanWidget() self.scanner = scanner = ScanWidget()
scanner.setSizePolicy(QtWidgets.QSizePolicy( scanner.setSizePolicy(QtWidgets.QSizePolicy(
QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)) QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed))
disable_scroll_wheel(scanner.axis)
disable_scroll_wheel(scanner.slider)
self.addWidget(scanner, 0, 0, -1, 1) self.addWidget(scanner, 0, 0, -1, 1)
self.min = ScientificSpinBox() self.min = ScientificSpinBox()