diff --git a/pyqtgraph/parametertree/parameterTypes.py b/pyqtgraph/parametertree/parameterTypes.py index 39cdf907..1062cc07 100644 --- a/pyqtgraph/parametertree/parameterTypes.py +++ b/pyqtgraph/parametertree/parameterTypes.py @@ -156,8 +156,6 @@ class WidgetParameterItem(ParameterItem): w.sigChanging = w.textChanged elif t == 'color': w = ColorButton() - h = w.sizeHint().height() - w.sizeHint = lambda: QtCore.QSize(100, h) w.sigChanged = w.sigColorChanged w.sigChanging = w.sigColorChanging w.value = w.color