Skip to content

Commit

Permalink
[Mod]日志记录组件增加自动换行功能
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy-dev-01 committed Oct 29, 2018
1 parent 354dbb5 commit 5b949c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vnpy/trader/uiBasicWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,12 @@ def __init__(self, mainEngine, eventEngine, parent=None):
self.initTable()
self.registerEvent()

#----------------------------------------------------------------------
def updateData(self, data):
""""""
super(LogMonitor, self).updateData(data)
self.resizeRowToContents(0) # 调整行高


########################################################################
class ErrorMonitor(BasicMonitor):
Expand Down

0 comments on commit 5b949c0

Please sign in to comment.