mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -04:00
fix show answer button width on win32
This commit is contained in:
parent
99f9f9cc40
commit
737c13eb70
1 changed files with 7 additions and 1 deletions
|
@ -445,7 +445,13 @@ new:
|
|||
# ask
|
||||
self.connect(self.mainWin.showAnswerButton, SIGNAL("clicked()"),
|
||||
lambda: self.moveToState("showAnswer"))
|
||||
self.mainWin.showAnswerButton.setFixedWidth(351)
|
||||
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.setFixedHeight(41)
|
||||
# answer
|
||||
for i in range(1, 5):
|
||||
|
|
Loading…
Reference in a new issue