CHANGELOG addition and slight modification of the setColor method
This commit is contained in:
parent
e1c652662d
commit
5cd9646fc8
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user