diff --git a/vnpy/trader/uiBasicWidget.py b/vnpy/trader/uiBasicWidget.py index 282e7762..bfb05b93 100644 --- a/vnpy/trader/uiBasicWidget.py +++ b/vnpy/trader/uiBasicWidget.py @@ -490,6 +490,12 @@ class LogMonitor(BasicMonitor): self.initTable() self.registerEvent() + #---------------------------------------------------------------------- + def updateData(self, data): + """""" + super(LogMonitor, self).updateData(data) + self.resizeRowToContents(0) # 调整行高 + ######################################################################## class ErrorMonitor(BasicMonitor):