don't force main window size on help bar

This commit is contained in:
Damien Elmes 2008-10-15 16:54:31 +09:00
parent 0aa58beb91
commit f76d58401a

View file

@ -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()