mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
don't force main window size on help bar
This commit is contained in:
parent
0aa58beb91
commit
f76d58401a
1 changed files with 0 additions and 6 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue