From f76d58401af06af3caa7750abe400d1f99ab6318 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 15 Oct 2008 16:54:31 +0900 Subject: [PATCH] don't force main window size on help bar --- ankiqt/ui/help.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ankiqt/ui/help.py b/ankiqt/ui/help.py index cb516cf11..9ca420c63 100644 --- a/ankiqt/ui/help.py +++ b/ankiqt/ui/help.py @@ -11,9 +11,6 @@ import ankiqt.forms class HelpArea(object): - helpAreaWidth = 300 - minAppWidth = 400 - def __init__(self, helpFrame, config, mainWindow=None, focus=None): self.helpFrame = helpFrame self.widget = helpFrame.findChild(QTextBrowser) @@ -29,9 +26,6 @@ class HelpArea(object): def show(self): "Show the help area." - if self.mainWindow: - self.mainWindow.setMinimumWidth( - self.minAppWidth+self.helpAreaWidth) self.helpFrame.show() self.widget.show()