From 5eddecd75dda7ce68d35bee41a8be1fedd08abac Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 15 Jun 2009 11:53:18 +0900 Subject: [PATCH] add space to type answer field --- ankiqt/ui/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index c2118503e..263a099dc 100755 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -556,6 +556,9 @@ new: f = QFont() f.setPixelSize(self.config['typeAnswerFontSize']) self.typeAnswerField.setFont(f) + # add some extra space as layout is wrong on osx + self.typeAnswerField.setFixedHeight( + self.typeAnswerField.sizeHint().height() + 10) vbox = QVBoxLayout() vbox.setSpacing(0) vbox.setContentsMargins(0,0,0,0)