From 875b25b59a97d1d5c0ffb31793eeb97d3a2c5308 Mon Sep 17 00:00:00 2001 From: chenxy123 Date: Tue, 29 Nov 2016 21:34:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9CTA=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E7=9A=84GUI=E4=B8=AD=E7=9A=84=E5=8D=95=E5=85=83=E6=A0=BC?= =?UTF-8?q?=E4=B8=BA=E5=9B=BA=E5=AE=9A=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vn.trader/ctaAlgo/uiCtaWidget.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vn.trader/ctaAlgo/uiCtaWidget.py b/vn.trader/ctaAlgo/uiCtaWidget.py index e095480f..98d1292c 100644 --- a/vn.trader/ctaAlgo/uiCtaWidget.py +++ b/vn.trader/ctaAlgo/uiCtaWidget.py @@ -80,9 +80,9 @@ class CtaStrategyManager(QtGui.QGroupBox): self.paramMonitor = CtaValueMonitor(self) self.varMonitor = CtaValueMonitor(self) - maxHeight = 60 - self.paramMonitor.setMaximumHeight(maxHeight) - self.varMonitor.setMaximumHeight(maxHeight) + height = 60 + self.paramMonitor.setFixedHeight(height) + self.varMonitor.setFixedHeight(height) buttonInit = QtGui.QPushButton(u'初始化') buttonStart = QtGui.QPushButton(u'启动')