Fix scatterplotwidget label color
This commit is contained in:
parent
96a3d216e2
commit
cbff3a58d7
@ -52,9 +52,9 @@ class ScatterPlotWidget(QtGui.QSplitter):
|
|||||||
self.ctrlPanel.addWidget(self.ptree)
|
self.ctrlPanel.addWidget(self.ptree)
|
||||||
self.addWidget(self.plot)
|
self.addWidget(self.plot)
|
||||||
|
|
||||||
bg = fn.mkColor(getConfigOption('background'))
|
fg = fn.mkColor(getConfigOption('foreground'))
|
||||||
bg.setAlpha(150)
|
fg.setAlpha(150)
|
||||||
self.filterText = TextItem(border=getConfigOption('foreground'), color=bg)
|
self.filterText = TextItem(border=getConfigOption('foreground'), color=fg)
|
||||||
self.filterText.setPos(60,20)
|
self.filterText.setPos(60,20)
|
||||||
self.filterText.setParentItem(self.plot.plotItem)
|
self.filterText.setParentItem(self.plot.plotItem)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user