From 1caa9c4d6f02efdb420916a4cb66ff6266fbf3d0 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 6 Feb 2009 18:56:16 +0900 Subject: [PATCH] make help correct size for deck stats on osx --- ankiqt/ui/help.py | 2 ++ designer/main.ui | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/help.py b/ankiqt/ui/help.py index 7c9738f61..b8a77dfd7 100644 --- a/ankiqt/ui/help.py +++ b/ankiqt/ui/help.py @@ -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): diff --git a/designer/main.ui b/designer/main.ui index adade28d7..d6a8a51c5 100644 --- a/designer/main.ui +++ b/designer/main.ui @@ -1086,11 +1086,17 @@ true - + 0 0 + + + 250 + 0 + + 300