add space to type answer field

This commit is contained in:
Damien Elmes 2009-06-15 11:53:18 +09:00
parent 12c1590d3f
commit 5eddecd75d

View file

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