diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py index 224a039..3d11b56 100644 --- a/syncplay/ui/GuiConfiguration.py +++ b/syncplay/ui/GuiConfiguration.py @@ -438,8 +438,7 @@ class ConfigDialog(QtGui.QDialog): except ValueError: self.slowdownThresholdSpinbox.setValue(constants.DEFAULT_SLOWDOWN_KICKIN_THRESHOLD) self.slowdownThresholdSpinbox.setSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) - self.slowdownThresholdSpinbox.setMinimumWidth(80) - self.slowdownThresholdSpinbox.setMaximumWidth(80) + self.slowdownThresholdSpinbox.setFixedWidth(self.slowdownThresholdSpinbox.minimumSizeHint().width()) self.slowdownThresholdSpinbox.setMinimum(constants.MINIMUM_SLOWDOWN_THRESHOLD) self.slowdownThresholdSpinbox.setSingleStep(0.1) self.slowdownThresholdSpinbox.setSuffix(getMessage("seconds-suffix")) @@ -456,8 +455,7 @@ class ConfigDialog(QtGui.QDialog): except ValueError: self.rewindThresholdSpinbox.setValue(constants.DEFAULT_REWIND_THRESHOLD) self.rewindThresholdSpinbox.setSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) - self.rewindThresholdSpinbox.setMinimumWidth(80) - self.rewindThresholdSpinbox.setMaximumWidth(80) + self.rewindThresholdSpinbox.setFixedWidth(self.rewindThresholdSpinbox.minimumSizeHint().width()) self.rewindThresholdSpinbox.setMinimum(constants.MINIMUM_REWIND_THRESHOLD) self.rewindThresholdSpinbox.setSingleStep(0.1) self.rewindThresholdSpinbox.setSuffix(getMessage("seconds-suffix"))