Closed tpitkanen closed 2 years ago
@mlaitin : "spinboxes should not be scrollable"
Inheriting from QAbstractSpinBox should fix the layout issues.
Inheriting from QAbstractSpinBox should fix the layout issues.
Actually inheriting from QDoubleSpinBox is simpler as we only need to implement our own step function and value formatting.
Two different spinboxes are confusing from a user perspective. The following differences should be unified:
ScientificSpinbox
is defined in widgets/scientific_spinbox.py and ui_files/ui_scientific_spinbox_widget.ui.Spinbox
comes directly from Qt.