From 5b949c01249efc706745c0de20a74a6450d1f841 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Mon, 29 Oct 2018 10:32:18 +0800 Subject: [PATCH] =?UTF-8?q?[Mod]=E6=97=A5=E5=BF=97=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0=E8=87=AA=E5=8A=A8=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vnpy/trader/uiBasicWidget.py | 6 ++++++ 1 file changed, 6 insertions(+) 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):