mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32: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.config = config
|
||||||
self.widget.connect(self.widget, SIGNAL("anchorClicked(QUrl)"),
|
self.widget.connect(self.widget, SIGNAL("anchorClicked(QUrl)"),
|
||||||
self.anchorClicked)
|
self.anchorClicked)
|
||||||
|
if sys.platform.startswith("darwin"):
|
||||||
|
self.widget.setFixedWidth(300)
|
||||||
self.hide()
|
self.hide()
|
||||||
|
|
||||||
def show(self):
|
def show(self):
|
||||||
|
|
|
@ -1086,11 +1086,17 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy" >
|
<property name="sizePolicy" >
|
||||||
<sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
|
<sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimumSize" >
|
||||||
|
<size>
|
||||||
|
<width>250</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="maximumSize" >
|
<property name="maximumSize" >
|
||||||
<size>
|
<size>
|
||||||
<width>300</width>
|
<width>300</width>
|
||||||
|
|
Loading…
Reference in a new issue