make help correct size for deck stats on osx

This commit is contained in:
Damien Elmes 2009-02-06 18:56:16 +09:00
parent 11d0b2d274
commit 1caa9c4d6f
2 changed files with 9 additions and 1 deletions

View file

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

View file

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