mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
make help correct size for deck stats on osx
This commit is contained in:
parent
11d0b2d274
commit
1caa9c4d6f
2 changed files with 9 additions and 1 deletions
|
@ -23,6 +23,8 @@ class HelpArea(object):
|
|||
self.config = config
|
||||
self.widget.connect(self.widget, SIGNAL("anchorClicked(QUrl)"),
|
||||
self.anchorClicked)
|
||||
if sys.platform.startswith("darwin"):
|
||||
self.widget.setFixedWidth(300)
|
||||
self.hide()
|
||||
|
||||
def show(self):
|
||||
|
|
|
@ -1086,11 +1086,17 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy" >
|
||||
<sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
|
||||
<sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>250</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize" >
|
||||
<size>
|
||||
<width>300</width>
|
||||
|
|
Loading…
Reference in a new issue