mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
Merge branch 'master' of git://github.com/scout/ankiqt
This commit is contained in:
commit
41f1eba87a
1 changed files with 7 additions and 1 deletions
|
|
@ -445,6 +445,12 @@ new:
|
||||||
# ask
|
# ask
|
||||||
self.connect(self.mainWin.showAnswerButton, SIGNAL("clicked()"),
|
self.connect(self.mainWin.showAnswerButton, SIGNAL("clicked()"),
|
||||||
lambda: self.moveToState("showAnswer"))
|
lambda: self.moveToState("showAnswer"))
|
||||||
|
if sys.platform.startswith("win32"):
|
||||||
|
if self.config['alternativeTheme']:
|
||||||
|
self.mainWin.showAnswerButton.setFixedWidth(370)
|
||||||
|
else:
|
||||||
|
self.mainWin.showAnswerButton.setFixedWidth(358)
|
||||||
|
else:
|
||||||
self.mainWin.showAnswerButton.setFixedWidth(351)
|
self.mainWin.showAnswerButton.setFixedWidth(351)
|
||||||
self.mainWin.showAnswerButton.setFixedHeight(41)
|
self.mainWin.showAnswerButton.setFixedHeight(41)
|
||||||
# answer
|
# answer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue