From f0e26d3add3b943a616b3e392023085214b41c19 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Wed, 7 Dec 2016 17:34:44 -0800 Subject: [PATCH] Limit lineedit height in parametertree to match spinbox style --- pyqtgraph/parametertree/parameterTypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyqtgraph/parametertree/parameterTypes.py b/pyqtgraph/parametertree/parameterTypes.py index 3c41ffe6..4c6a8486 100644 --- a/pyqtgraph/parametertree/parameterTypes.py +++ b/pyqtgraph/parametertree/parameterTypes.py @@ -122,6 +122,7 @@ class WidgetParameterItem(ParameterItem): self.hideWidget = False elif t == 'str': w = QtGui.QLineEdit() + w.setStyleSheet('border: 0px') w.sigChanged = w.editingFinished w.value = lambda: asUnicode(w.text()) w.setValue = lambda v: w.setText(asUnicode(v))