mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
add space to type answer field
This commit is contained in:
parent
12c1590d3f
commit
5eddecd75d
1 changed files with 3 additions and 0 deletions
|
@ -556,6 +556,9 @@ new:
|
||||||
f = QFont()
|
f = QFont()
|
||||||
f.setPixelSize(self.config['typeAnswerFontSize'])
|
f.setPixelSize(self.config['typeAnswerFontSize'])
|
||||||
self.typeAnswerField.setFont(f)
|
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 = QVBoxLayout()
|
||||||
vbox.setSpacing(0)
|
vbox.setSpacing(0)
|
||||||
vbox.setContentsMargins(0,0,0,0)
|
vbox.setContentsMargins(0,0,0,0)
|
||||||
|
|
Loading…
Reference in a new issue