diff --git a/pyqtgraph/widgets/ComboBox.py b/pyqtgraph/widgets/ComboBox.py index 6f184c5f..632216ee 100644 --- a/pyqtgraph/widgets/ComboBox.py +++ b/pyqtgraph/widgets/ComboBox.py @@ -24,7 +24,7 @@ class ComboBox(QtGui.QComboBox): #self.value = default if 'darwin' in sys.platform: ## because MacOSX can show names that are wider than the comboBox - self.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLength) + self.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) #self.setMinimumContentsLength(10) self._chosenText = None self._items = OrderedDict()