[Fix] format error of /vnpy/trader/ui/widget.py

This commit is contained in:
nanoric 2019-01-21 05:46:10 -04:00
parent e6e41fdc5c
commit cda0287246

View File

@ -172,7 +172,7 @@ class MsgCell(BaseCell):
def __init__(self, content: str, data: Any):
""""""
super(MsgCell, self).__init__(content, data)
self.setTextAlignment(QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.setTextAlignment(QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter)
class BaseMonitor(QtWidgets.QTableWidget):