CHANGELOG addition and slight modification of the setColor method

This commit is contained in:
lesauxvi 2016-03-23 08:00:34 +01:00
parent e1c652662d
commit 5cd9646fc8
2 changed files with 5 additions and 1 deletions

View File

@ -11,11 +11,16 @@ pyqtgraph-0.9.11 [unreleased]
- Remove all modifications to builtins
- Fix SpinBox decimals
API / behavior changes:
- Change the defaut color kwarg to None in TextItem.setText() to avoid changing
the color everytime the text is changed.
New Features:
- Preliminary PyQt5 support
- DockArea:
- Dock titles can be changed after creation
- Added Dock.sigClosed
- Added TextItem.setColor()
Maintenance:
- Add examples to unit tests

View File

@ -124,7 +124,6 @@ class TextItem(GraphicsObject):
"""
self.color = fn.mkColor(color)
self.textItem.setDefaultTextColor(self.color)
self.updateTextPos()
def updateTextPos(self):
# update text position to obey anchor